Advance UIKit rewrite with AMap integration and core UI modules.
Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -10,17 +10,29 @@ import Foundation
|
||||
/// 直播服务协议,定义直播管理和直播相册接口能力。
|
||||
@MainActor
|
||||
protocol LiveServing {
|
||||
/// 直播列表相关逻辑。
|
||||
func liveList(scenicId: Int, page: Int, pageSize: Int) async throws -> LiveListResponse
|
||||
/// 直播详情相关逻辑。
|
||||
func liveDetail(liveId: Int) async throws -> LiveEntity
|
||||
/// 直播创建相关逻辑。
|
||||
func liveCreate(_ request: LiveCreateRequest) async throws
|
||||
/// 直播启动相关逻辑。
|
||||
func liveStart(liveId: Int) async throws
|
||||
/// 直播停止相关逻辑。
|
||||
func liveStop(liveId: Int) async throws
|
||||
/// 直播Finish相关逻辑。
|
||||
func liveFinish(liveId: Int) async throws
|
||||
/// 直播Set推送Mode相关逻辑。
|
||||
func liveSetPushMode(liveId: Int, mode: Int) async throws
|
||||
/// 直播相册列表相关逻辑。
|
||||
func liveAlbumList(scenicId: Int, startTime: String?, endTime: String?, page: Int, pageSize: Int) async throws -> LiveAlbumFolderListResponse
|
||||
/// 直播相册创建文件夹相关逻辑。
|
||||
func liveAlbumCreateFolder(_ request: LiveAlbumCreateFolderRequest) async throws
|
||||
/// 直播相册删除文件夹相关逻辑。
|
||||
func liveAlbumDeleteFolder(folderId: Int) async throws
|
||||
/// 直播相册文件夹详情相关逻辑。
|
||||
func liveAlbumFolderDetail(folderId: Int) async throws -> LiveAlbumFolderItem
|
||||
/// 直播相册删除Files相关逻辑。
|
||||
func liveAlbumDeleteFiles(folderId: Int, fileIds: [Int]) async throws
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user