feat:医院支付,选择支付钱包支付
This commit is contained in:
1 parent
c2707899db
commit
3a7ca1e5be
17 files changed
+441
-117
No files matched your search
@@ -63,4 +63,16 @@ abstract class WalletApi {
|
||||
?.map<ServiceMchRule>((e) => ServiceMchRule.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
|
||||
/// 获取钱包规则(android离线计算展示使用)
|
||||
static Future<List<ServiceWallet>?> getWalletList(dynamic pa) async {
|
||||
final res = await HttpManage().dio.get(
|
||||
"/wallet/wallet-manage/ad/wallet/list",
|
||||
queryParameters: pa,
|
||||
);
|
||||
if (res.data == null) return null;
|
||||
return res.data
|
||||
?.map<ServiceWallet>((e) => ServiceWallet.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user