diff --git a/lib/const/saas_api.dart b/lib/const/saas_api.dart index 7578aa4..227f9b2 100644 --- a/lib/const/saas_api.dart +++ b/lib/const/saas_api.dart @@ -11,7 +11,7 @@ class SAASAPI { ///静态资源路径 static String get resource => - 'https://saas.kaidalai.cn/resource/${UserTool.userProvider.userInfoModel!.id}/'; + 'https://saas.kaidalai.cn/resource/${UserTool.userProvider.userInfoModel!.communityCode}/'; static String image(String? path) => '$resource$path'; diff --git a/lib/ui/widgets/common/bee_hor_image_view.dart b/lib/ui/widgets/common/bee_hor_image_view.dart index f140068..a36c20d 100644 --- a/lib/ui/widgets/common/bee_hor_image_view.dart +++ b/lib/ui/widgets/common/bee_hor_image_view.dart @@ -2,10 +2,8 @@ import 'package:aku_new_community_manager/models/common/img_model.dart'; import 'package:aku_new_community_manager/ui/widgets/app_widgets/bee_image_network.dart'; import 'package:aku_new_community_manager/ui/widgets/inner/bee_image_preview.dart'; import 'package:aku_new_community_manager/utils/extension/list_extension.dart'; -import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; -import 'package:velocity_x/src/extensions/string_ext.dart'; import 'package:velocity_x/velocity_x.dart'; class BeeHorImageView extends StatefulWidget {