Commit 11d2361e5ba4d2927025a452d16009a0800ebb80

Authored by wdn127929
2 parents 7ed847d8 a13cabc7

Merge branch 'v4.8.1+' into v4.8.3+

755 Bytes

... ... @@ -61,8 +61,8 @@ class TableOuter {
TableOuter.fromJson2(Map<String, dynamic> json) {
name = json["name"];
list = <Table>[];
if (json['list'] != null && json['list'].length > 0) {
list = <Table>[];
json['list'].forEach((element) {
list.add(Table.fromJson(element));
});
... ...
... ... @@ -58,8 +58,8 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
_getActivityById() async {
pageState = PageState.Loading;
bool success =
await couponProvider.getActivityById(context, {'id': widget.idstr});
bool success = await couponProvider
.getActivityById(context, {'id': widget.idstr}, isShowLoading: false);
if (success) {
pageState = PageState.Success;
} else {
... ... @@ -84,8 +84,7 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
child: Text(
title,
style: TextStyle(
color: Color.fromRGBO(0, 0, 0, 0.9),
fontWeight: FontWeight.bold,
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32)),
),
),
... ... @@ -122,8 +121,7 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
child: Text(
title,
style: TextStyle(
color: Color.fromRGBO(0, 0, 0, 0.9),
fontWeight: FontWeight.bold,
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32)),
),
),
... ... @@ -176,6 +174,36 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
);
}
///是否立即启用
Widget _canUse(String title, bool swich) {
return Container(
padding: EdgeInsets.symmetric(vertical: ScreenUtil().setWidth(24)),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
// height: ScreenUtil().setWidth(40),
// color: Colors.red,
child: Text(
title,
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32)),
),
),
Spacer(),
Image.asset(
swich
? Utils.getImgPath('swich_on')
: Utils.getImgPath('swich_off'),
width: ScreenUtil().setWidth(44 * 2),
)
],
),
);
}
@override
Widget build(BuildContext context) {
couponProvider = Provider.of<CouponProvider>(context, listen: true);
... ... @@ -186,6 +214,19 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
onTap: () {
Navigator.pop(context);
},
rightImgName: couponProvider.couponSunModel.isType == '1' &&
couponProvider.couponSunModel.isExamine == '1' &&
couponProvider.couponSunModel.status == '1'
? 'share.png'
: null,
onTapRight: () {
if (couponProvider.couponSunModel.isType == '1' &&
couponProvider.couponSunModel.isExamine == '1' &&
couponProvider.couponSunModel.status == '1') {
//店铺可核销券
Utils.goShareBuyCouponToWeChat(context, widget.idstr);
}
},
),
body: Consumer<CouponProvider>(builder: (context, model, _) {
if (pageState != PageState.Success) {
... ... @@ -213,16 +254,29 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
_item(
'券类型',
couponProvider.couponSunModel.isType == '1'
? couponProvider.couponSunModel.isExamine ==
'1'
? '店铺优惠券(核销券)'
: '店铺优惠券'
? '店铺优惠券'
: '我的优惠券'),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
if (couponProvider.couponSunModel.isType == '1')
Column(
children: [
_canUse(
'是否核销',
couponProvider.couponSunModel.isExamine ==
'1'
? true
: false),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
],
),
_item('券名称', couponProvider.couponSunModel.aname),
Container(
height: ScreenUtil().setWidth(2),
... ... @@ -232,17 +286,9 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
if (couponProvider.couponSunModel.isType == '1' &&
couponProvider.couponSunModel.use != null)
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_item(
'销售价',
couponProvider.couponSunModel.price ??
''),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
_item(
'券用途',
couponProvider.couponSunModel.use.isCash
? '代金券'
... ... @@ -253,16 +299,20 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
.couponSunModel.use.isDish
? '菜品券'
: ''),
VEmptyView(10),
_textShow(
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
_item(
couponProvider.couponSunModel.use.isCash
? '金额:'
? '金额'
: couponProvider
.couponSunModel.use.isDiscount
? '折扣率:'
? '折扣率'
: couponProvider
.couponSunModel.use.isDish
? '菜品:'
? '菜品'
: '',
couponProvider.couponSunModel.use.isCash
? '${couponProvider.couponSunModel.use.cash}元'
... ... @@ -274,7 +324,15 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
? couponProvider
.couponSunModel.use.dish
: ''),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
_item(
'销售价',
'${couponProvider.couponSunModel.price}元' ??
''),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
... ... @@ -318,25 +376,44 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
? '会员生日当天'
: couponProvider.couponSunModel
.expDate.isWeek
? couponProvider.couponSunModel
.expDate.weekShow
? '每周指定日期餐段可用'
: ''),
if (couponProvider
.couponSunModel.expDate.isWeek)
Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: EdgeInsets.only(left: w(16)),
child: Text(
couponProvider
.couponSunModel.expDate.weekShow,
textAlign: TextAlign.left,
style: TextStyle(
height: 1.5,
fontSize: font(16),
color: MyColours.color_999999),
),
)),
if (couponProvider
.couponSunModel.expDate.isWeek)
VEmptyView(24),
]),
couponProvider.couponSunModel.isType == '1'
? Column(
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
_item('创建人',
couponProvider.couponSunModel.uid),
],
)
: SizedBox(),
// couponProvider.couponSunModel.isType == '1'
// ? Column(
// crossAxisAlignment:
// CrossAxisAlignment.start,
// children: [
// Container(
// height: ScreenUtil().setWidth(2),
// color: MyColours.color_E7E7E7,
// ),
// VEmptyView(24),
// _item('创建人',
// couponProvider.couponSunModel.uid),
// ],
// )
// : SizedBox(),
couponProvider.couponSunModel.isType == '1'
? Column(
crossAxisAlignment:
... ... @@ -375,19 +452,39 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
: SizedBox(),
couponProvider.couponSunModel.explain != null &&
couponProvider.couponSunModel.explain != ''
? _item('券说明',
couponProvider.couponSunModel.explain)
? _item('券说明', '')
: SizedBox(),
Container(
height: ScreenUtil().setWidth(2),
color: MyColours.color_E7E7E7,
),
VEmptyView(24),
_item(
'券状态',
if (couponProvider.couponSunModel.explain != null &&
couponProvider.couponSunModel.explain != '')
Align(
alignment: Alignment.centerLeft,
child: Text(
couponProvider.couponSunModel.explain,
textAlign: TextAlign.left,
style: TextStyle(
// height: 1.5,
fontSize: font(16),
color: MyColours.color_999999),
),
),
if (couponProvider.couponSunModel.explain != null &&
couponProvider.couponSunModel.explain != '')
VEmptyView(24),
// Container(
// height: ScreenUtil().setWidth(2),
// color: MyColours.color_E7E7E7,
// ),
VEmptyView(24),
_canUse(
'立即启用',
couponProvider.couponSunModel.status == '1'
? '发放中'
: '停用')
? true
: false)
],
))),
)
... ...
... ... @@ -137,7 +137,8 @@ class _CouponSunPageState extends State<CouponSunPage> {
},
onPressed: () {
NavigatorUtil.goCouponDetailPage(
context, couponProvider.couponList[index]);
context, couponProvider.couponList[index],
idStr: couponProvider.couponList[index].id);
},
);
}, childCount: couponProvider.couponList.length),
... ...
... ... @@ -101,19 +101,23 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
fontSize: ScreenUtil().setSp(32)),
)),
VEmptyView(26),
Padding(
padding: EdgeInsets.only(left: w(20)),
child: Text(
marketingCenterProvider.rechargeDetail.explain == '' ||
marketingCenterProvider.rechargeDetail.explain == null
? '无'
: marketingCenterProvider.rechargeDetail.explain,
MyDivider(
double.infinity,
w(0.5),
color: MyColours.color_E7E7E7,
),
VEmptyView(26),
Text(
marketingCenterProvider.rechargeDetail.explain == '' ||
marketingCenterProvider.rechargeDetail.explain == null
? '无'
: marketingCenterProvider.rechargeDetail.explain,
// maxLengthEnforced: true,
style: TextStyle(
fontSize: ScreenUtil().setSp(32),
color: MyColours.color_999999), //输入文本的样式
)),
// maxLengthEnforced: true,
style: TextStyle(
fontSize: ScreenUtil().setSp(32),
color: MyColours.color_999999), //输入文本的样式
),
],
),
);
... ... @@ -153,7 +157,21 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
Provider.of<MarketingCenterProvider>(context, listen: true);
return Scaffold(
backgroundColor: MyColours.color_ffffff,
appBar: SystemAppBar('充值优惠详情'),
appBar: SystemAppBar(
'充值优惠详情',
rightImgName: widget.idstr != null &&
widget.idstr != 'null' &&
marketingCenterProvider.rechargeDetail.isOpen == '1'
? 'share.png'
: '',
onTapRight: () {
if (widget.idstr != null &&
widget.idstr != 'null' &&
marketingCenterProvider.rechargeDetail.isOpen == '1') {
Utils.goShareBuyRechargeToWeChat(context, widget.idstr);
}
},
),
body: Consumer<MarketingCenterProvider>(builder: (context, model, _) {
if (model.pageStateDetail != PageState.Success) {
return ExceptionPage(
... ... @@ -325,7 +343,7 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
child: Text(
e.aname,
style: TextStyle(
color: MyColours.color_438E93,
color: MyColours.color_0143A3,
fontSize:
ScreenUtil().setSp(32)),
));
... ... @@ -343,7 +361,7 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
Row(
children: [
Text(
'使用限制:',
'充值日期限制:',
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(32)),
... ...
... ... @@ -180,10 +180,10 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
? true
: false;
// if (marketingCenterProvider.rechargeDetail.expDate.fixSdate != '') {
fromDate = marketingCenterProvider.rechargeDetail.stimeStr;
fromDate = marketingCenterProvider.rechargeDetail.stimeStr;
// }
// if (marketingCenterProvider.rechargeDetail.expDate.fixEdate != '') {
endDate = marketingCenterProvider.rechargeDetail.etimeStr;
endDate = marketingCenterProvider.rechargeDetail.etimeStr;
// }
weekly = marketingCenterProvider.rechargeDetail.expDate.isWeek == '1'
... ... @@ -404,7 +404,8 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
fontSize: ScreenUtil().setSp(32),
color: MyColours.color_333333), //输入文本的样式
decoration: InputDecoration(
contentPadding: EdgeInsets.all(ScreenUtil().setWidth(30)),
contentPadding:
EdgeInsets.symmetric(vertical: ScreenUtil().setWidth(30)),
hintText: hintText,
hintStyle: TextStyle(
color: MyColours.color_999999,
... ... @@ -511,7 +512,21 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
child: Scaffold(
key: scaffoldKey,
backgroundColor: MyColours.color_ffffff,
appBar: SystemAppBar('充值优惠详情'),
appBar: SystemAppBar(
'充值优惠详情',
rightImgName: widget.idstr != null &&
widget.idstr != 'null' &&
marketingCenterProvider.rechargeDetail.isOpen == '1'
? 'share.png'
: '',
onTapRight: () {
if (widget.idstr != null &&
widget.idstr != 'null' &&
marketingCenterProvider.rechargeDetail.isOpen == '1') {
Utils.goShareBuyRechargeToWeChat(context, widget.idstr);
}
},
),
body: Column(
children: [
Expanded(
... ...
... ... @@ -92,6 +92,10 @@ class _RechargeHomePageState extends State<RechargeHomePage> {
backgroundColor: MyColours.color_f3f3f3,
appBar: SystemAppBar(
'充值优惠',
rightImgName: 'share.png',
onTapRight: () {
Utils.goShareRechargeListToWeChat(context);
},
),
body: Container(
child: Column(
... ...
... ... @@ -178,7 +178,7 @@ class TableManagerPageState extends State<TableManagerPage> {
///获取短信余量
_getSmsInfo(context) async {
smsInfoData = await myModel.getSmsInfo(context,selfDismiss: true);
smsInfoData = await myModel.getSmsInfo(context, selfDismiss: true);
if (myModel.smsInfo == '0') {
if (!mounted) {
return;
... ...
... ... @@ -93,9 +93,12 @@ class TableManagerModel with ChangeNotifier {
}
List<TableOuter> temp = [];
List list = json.decode(tableList);
list.forEach((element) {
temp.add(TableOuter.fromJson2(element));
});
if (list.length > 0) {
list.forEach((element) {
temp.add(TableOuter.fromJson2(element));
});
}
return temp;
}
... ... @@ -115,9 +118,12 @@ class TableManagerModel with ChangeNotifier {
// list.forEach((element) {
// temp.addAll(TableOuter.fromJson2(element).list);
// });
tableOuterList.forEach((element) {
temp.addAll(element.list);
});
if (tableOuterList.length > 0) {
tableOuterList.forEach((element) {
temp.addAll(element.list??[]);
});
}
return temp;
}
}
... ...
... ... @@ -96,9 +96,9 @@ import 'package:one_key/pages/my/personnel_type/personnel_password_show_page.dar
import 'package:one_key/pages/my/base_info.dart';
import 'package:one_key/pages/my/book_time_set.dart';
import 'package:one_key/pages/my/contant_page.dart';
import 'package:one_key/pages/my/menu_type/menu_add_dishes_page_old.dart';
// import 'package:one_key/pages/my/menu_type/menu_add_dishes_page_old.dart';
import 'package:one_key/pages/my/menu_type/menu_category_page.dart';
import 'package:one_key/pages/my/menu_type/menu_manage_page_old.dart';
// import 'package:one_key/pages/my/menu_type/menu_manage_page_old.dart';
import 'package:one_key/pages/my/my_integral_page.dart';
import 'package:one_key/pages/my/photo_type/photo_manager_page.dart';
import 'package:one_key/pages/my/receive_orders_time_set.dart';
... ... @@ -201,8 +201,10 @@ import '../pages/my/marketing_center/recharge/recharge_history_page.dart';
import '../pages/my/marketing_center/recharge/recharge_home_page.dart';
import '../pages/my/marketing_center/recharge/recharge_select_store_coupon_page.dart';
import '../pages/my/menu_type/menu_add_dishes_page.dart';
// import '../pages/my/menu_type/menu_add_dishes_page_new.dart';
import '../pages/my/menu_type/menu_dish_method_page.dart';
import '../pages/my/menu_type/menu_manage_page.dart';
// import '../pages/my/menu_type/menu_manage_page_new.dart';
import '../pages/my/menu_type/menu_theme_color_set_page.dart';
import '../pages/my/menu_type/menu_unit_page.dart';
import '../pages/my/plan_dish/final_plan_dish_page.dart';
... ...
... ... @@ -1090,7 +1090,7 @@ class Utils {
static getDateStrFromJiekou(String ms) {
return DateUtil.formatDate(
DateTime.fromMillisecondsSinceEpoch(int.parse(ms) * 1000),
format: DateFormats.full);
format: DateFormats.y_mo_d);
}
static setBarStatus(bool isDarkIcon,
... ... @@ -1555,6 +1555,163 @@ class Utils {
return frame.image;
}
//跳转到充值优惠列表
static goShareRechargeListToWeChat(BuildContext context) async {
String _webPageUrl = "http://colorcun.com/";
// String _thumbnail =
// "https://xt04.colorcun.com/h5/index.html#/?id=163854&hasInvitation=1";
// String _thumbnail =
// "https://qn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_201911151148572.jpg";
String sellerImage =
Provider.of<UserModel>(context, listen: false).user.sellerimage;
String _thumbnail = sellerImage == null || sellerImage == ''
? 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png'
: sellerImage;
String _title = "充值优惠列表购买分享";
String _userName = "gh_487873d353b3";
String _path =
"pack-cookbook/pages/favourableList?sellerName=${Provider.of<UserModel>(context, listen: false).user.sellername}&sellerid=${Provider.of<UserModel>(context, listen: false).user.sellerid}";
// if (Provider.of<UserModel>(context, listen: false).user.sellerid == '677') {
// //京厨九跳转新的邀请函地址
// _path =
// "pages/customer/index?id=$rid&hasInvitation=1&hasSellerShare=1&uid=$uid";
// }
String _description = "充值优惠列表购买分享";
// Uint8List source = await testComporessList(context, _thumbnail);
//跳转小程序
var model = new WeChatShareMiniProgramModel(
webPageUrl: _webPageUrl,
userName: _userName,
title: _title,
path: _path,
description: _description,
miniProgramType: WXMiniProgramType.PREVIEW, //体验版
// miniProgramType: WXMiniProgramType.RELEASE, //正式版
// miniProgramType: WXMiniProgramType.TEST //开发版
// thumbnail: WeChatImage.binary(source)
thumbnail: WeChatImage.network(_thumbnail)
// thumbnail: WeChatImage.binary(image)
);
//分享链接
// var model = WeChatShareWebPageModel(
// // 'https://xt04.colorcun.com/h5/index.html#/?id=$rid&hasInvitation=1',
// 'https://xt04.colorcun.com/h5/index.html?id=$rid&hasInvitation=1&hasSellerShare=1',
// title: _title,
// description: _description,
// thumbnail: WeChatImage.network(_thumbnail),
// scene: WeChatScene.SESSION,
// );
bool isSuccess = await shareToWeChat(model);
return isSuccess;
}
//跳转到优惠券购买页面
static goShareBuyCouponToWeChat(BuildContext context, String couponid) async {
String _webPageUrl = "http://colorcun.com/";
// String _thumbnail =
// "https://xt04.colorcun.com/h5/index.html#/?id=163854&hasInvitation=1";
// String _thumbnail =
// "https://qn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_201911151148572.jpg";
String sellerImage =
Provider.of<UserModel>(context, listen: false).user.sellerimage;
String _thumbnail = sellerImage == null || sellerImage == ''
? 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png'
: sellerImage;
String _title = "优惠券购买分享";
String _userName = "gh_487873d353b3";
String _path =
"pack-activity/pack/buyCoupon?id=$couponid&name=${Provider.of<UserModel>(context, listen: false).user.sellername}&sid=${Provider.of<UserModel>(context, listen: false).user.sellerid}&types=3";
// if (Provider.of<UserModel>(context, listen: false).user.sellerid == '677') {
// //京厨九跳转新的邀请函地址
// _path =
// "pages/customer/index?id=$rid&hasInvitation=1&hasSellerShare=1&uid=$uid";
// }
String _description = "进入查看包间详情,转发同行好友,还可一键导航到饭店";
// Uint8List source = await testComporessList(context, _thumbnail);
//跳转小程序
var model = new WeChatShareMiniProgramModel(
webPageUrl: _webPageUrl,
userName: _userName,
title: _title,
path: _path,
description: _description,
miniProgramType: WXMiniProgramType.PREVIEW, //体验版
// miniProgramType: WXMiniProgramType.RELEASE //正式版
// miniProgramType: WXMiniProgramType.TEST //开发版
// thumbnail: WeChatImage.binary(source)
thumbnail: WeChatImage.network(_thumbnail)
// thumbnail: WeChatImage.binary(image)
);
//分享链接
// var model = WeChatShareWebPageModel(
// // 'https://xt04.colorcun.com/h5/index.html#/?id=$rid&hasInvitation=1',
// 'https://xt04.colorcun.com/h5/index.html?id=$rid&hasInvitation=1&hasSellerShare=1',
// title: _title,
// description: _description,
// thumbnail: WeChatImage.network(_thumbnail),
// scene: WeChatScene.SESSION,
// );
bool isSuccess = await shareToWeChat(model);
return isSuccess;
}
//跳转到充值优惠购买页面
static goShareBuyRechargeToWeChat(
BuildContext context, String rechargeid) async {
String _webPageUrl = "http://colorcun.com/";
// String _thumbnail =
// "https://xt04.colorcun.com/h5/index.html#/?id=163854&hasInvitation=1";
// String _thumbnail =
// "https://qn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_201911151148572.jpg";
String sellerImage =
Provider.of<UserModel>(context, listen: false).user.sellerimage;
String _thumbnail = sellerImage == null || sellerImage == ''
? 'http://nosqn.colorcun.com/reserve/images/3x/%E6%9A%82%E6%97%A0.png'
: sellerImage;
String _title = "充值优惠购买分享";
String _userName = "gh_487873d353b3";
String _path =
"pack-activity/pack/vipRecharge?id=$rechargeid&name=${Provider.of<UserModel>(context, listen: false).user.sellername}&sid=${Provider.of<UserModel>(context, listen: false).user.sellerid}&types=3";
// if (Provider.of<UserModel>(context, listen: false).user.sellerid == '677') {
// //京厨九跳转新的邀请函地址
// _path =
// "pages/customer/index?id=$rid&hasInvitation=1&hasSellerShare=1&uid=$uid";
// }
String _description = "充值优惠购买分享";
// Uint8List source = await testComporessList(context, _thumbnail);
//跳转小程序
var model = new WeChatShareMiniProgramModel(
webPageUrl: _webPageUrl,
userName: _userName,
title: _title,
path: _path,
description: _description,
miniProgramType: WXMiniProgramType.PREVIEW, //体验版
// miniProgramType: WXMiniProgramType.RELEASE //正式版
// miniProgramType: WXMiniProgramType.TEST //开发版
// thumbnail: WeChatImage.binary(source)
thumbnail: WeChatImage.network(_thumbnail)
// thumbnail: WeChatImage.binary(image)
);
//分享链接
// var model = WeChatShareWebPageModel(
// // 'https://xt04.colorcun.com/h5/index.html#/?id=$rid&hasInvitation=1',
// 'https://xt04.colorcun.com/h5/index.html?id=$rid&hasInvitation=1&hasSellerShare=1',
// title: _title,
// description: _description,
// thumbnail: WeChatImage.network(_thumbnail),
// scene: WeChatScene.SESSION,
// );
bool isSuccess = await shareToWeChat(model);
return isSuccess;
}
//分享邀请函
static goShareInvicationToWeChat(
BuildContext context, String rid, String uid) async {
... ...