feat:消费机更新

feat:人员调用钱包部门不调动的bug
This commit is contained in:
dzc committed 2026-09-09 11:56:19 +08:00
1 parent 842402e364
commit 60d9380a65
144 files changed
+27832 -1666

No files matched your search

+14 -3
View File
@@ -1,13 +1,24 @@
import 'package:dio/dio.dart' as dio;
import 'package:pj_supermarket_cloud/common/index.dart';
/// 终端 App 配置与版本接口入口,统一复用 HttpManage 的鉴权、租户和错误处理。
abstract class AppApi {
/// 获取所有版本列表
///
/// 分页获取匹配 App 编码和平台的已发布版本。
///
/// [pa] 包含 appUniqueCode、platform、current 和 size;[silent] 为 true 时后台任务
/// 只记录异常,不弹业务 Toast。
static Future<ServiceAppVersionPage?> openCardList(
dynamic pa,
) async {
dynamic pa, {
bool silent = false,
}) async {
final res = await HttpManage().dio.get(
"/integrated/app-version/ad/page",
queryParameters: pa,
options: dio.Options(
extra: {if (silent) HttpManage.silentRequestKey: true},
),
);
if (res.data == null) return null;
return ServiceAppVersionPage.fromJson(res.data);