Add instant payment collection flow aligned with Android.

Implement收款详情与收款记录 pages with pay-code API, QR generation, amount setting, and record grouping so merchants can collect payments from the home quick action.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 09:29:03 +08:00
parent 731de7d7f0
commit d8329d19fd
17 changed files with 1548 additions and 1 deletions

View File

@ -16,6 +16,7 @@ final class NetworkServices {
let statisticsAPI: StatisticsAPI
let orderAPI: OrderAPI
let homeAPI: HomeAPI
let paymentAPI: PaymentAPI
let uploadAPI: UploadAPI
let ossUploadService: OSSUploadService
@ -27,6 +28,7 @@ final class NetworkServices {
statisticsAPI = StatisticsAPI(client: client)
orderAPI = OrderAPI(client: client)
homeAPI = HomeAPI(client: client)
paymentAPI = PaymentAPI(client: client)
uploadAPI = UploadAPI(client: client)
ossUploadService = OSSUploadService(configService: uploadAPI)
client.bindAuthTokenProvider {
@ -43,6 +45,7 @@ final class NetworkServices {
statisticsAPI = StatisticsAPI(client: apiClient)
orderAPI = OrderAPI(client: apiClient)
homeAPI = HomeAPI(client: apiClient)
paymentAPI = PaymentAPI(client: apiClient)
uploadAPI = UploadAPI(client: apiClient)
ossUploadService = OSSUploadService(configService: uploadAPI)
}