feat: update app workflows and permissions

This commit is contained in:
2026-07-09 17:34:00 +08:00
parent 43e6133c21
commit 8e356973bd
44 changed files with 2944 additions and 307 deletions

View File

@ -24,6 +24,8 @@ protocol WildPhotographerReportServing {
func reportList(_ request: WildReportListRequest) async throws -> WildReportListResponse
///
func reportDetail(id: Int) async throws -> WildReportDetailData
///
func reportShare(id: String) async throws -> WildReportMiniProgramShareData
}
/// API `photog/report`
@ -115,6 +117,17 @@ final class WildPhotographerReportAPI: WildPhotographerReportServing {
)
)
}
///
func reportShare(id: String) async throws -> WildReportMiniProgramShareData {
try await client.send(
APIRequest(
method: .get,
path: "/api/yf-handset-app/photog/report/share",
queryItems: [URLQueryItem(name: "id", value: id)]
)
)
}
}
///