|
|
|
import 'package:cached_network_image/cached_network_image.dart';
|
|
|
|
import 'package:common_utils/common_utils.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:one_key/models/seller_phone_model.dart';
|
|
|
|
import 'package:one_key/models/user.dart';
|
|
|
|
import 'package:one_key/pages/online_check/photo_view_wiget.dart';
|
|
|
|
import 'package:one_key/provider/base_info_provider.dart';
|
|
|
|
import 'package:one_key/provider/coupon_provider.dart';
|
|
|
|
import 'package:one_key/provider/user_model.dart';
|
|
|
|
import 'package:one_key/res/colors.dart';
|
|
...
|
...
|
@@ -35,6 +40,11 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
ScrollController controller = ScrollController();
|
|
|
|
double couponHeight = 180.0;
|
|
|
|
CouponProvider couponProvider;
|
|
|
|
BaseIndoProvider _baseIndoProvider;
|
|
|
|
String name = '请填写姓名';
|
|
|
|
String position = '请填写职位';
|
|
|
|
String phone = '请填写电话';
|
|
|
|
String qiniuUrl = '';
|
|
|
|
|
|
|
|
@override
|
|
|
|
void initState() {
|
|
...
|
...
|
@@ -42,6 +52,8 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
_getActivityByRid();
|
|
|
|
_getCustomerActivityBaseinfo();
|
|
|
|
_getSellerPhotoById();
|
|
|
|
});
|
|
|
|
Utils.changeStatusColor(color: Colors.transparent);
|
|
|
|
dateTime =
|
|
...
|
...
|
@@ -51,6 +63,37 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
"${dateTime.year}/${Utils.addZeroNumber(dateTime.month)}/${Utils.addZeroNumber(dateTime.day)} 星期${Utils.formatWeekDayNum(dateTime.weekday)} ${widget.ddateStr}";
|
|
|
|
}
|
|
|
|
|
|
|
|
_getSellerPhotoById() async {
|
|
|
|
Map<String, String> params = {
|
|
|
|
'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
"type": '2',
|
|
|
|
};
|
|
|
|
bool success = await _baseIndoProvider.getSellerPhotoById(context, params);
|
|
|
|
}
|
|
|
|
|
|
|
|
_getCustomerActivityBaseinfo() async {
|
|
|
|
Map<String, String> params = {
|
|
|
|
'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
"uid": Provider.of<UserModel>(context, listen: false).user.openid,
|
|
|
|
};
|
|
|
|
bool success =
|
|
|
|
await _baseIndoProvider.getCustomerActivityBaseinfo(context, params);
|
|
|
|
if (success) {
|
|
|
|
name = _baseIndoProvider.baseInfoSunModel.name;
|
|
|
|
qiniuUrl = _baseIndoProvider.baseInfoSunModel.photo;
|
|
|
|
// _uploadImageProvider.erweima.qiniuUrl =
|
|
|
|
// _baseIndoProvider.baseInfoSunModel.qrcode;
|
|
|
|
phone = _baseIndoProvider.baseInfoSunModel.phone;
|
|
|
|
position = _baseIndoProvider.baseInfoSunModel.position;
|
|
|
|
setState(() {});
|
|
|
|
} else {
|
|
|
|
// name = '请填写姓名';
|
|
|
|
// position = '请填写职位';
|
|
|
|
// phone = '请填写电话';
|
|
|
|
// qiniuUrl = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
_getActivityByRid() async {
|
|
|
|
Map<String, String> params = {
|
|
|
|
"rid": widget.rid,
|
|
...
|
...
|
@@ -140,10 +183,50 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
_goBaseInfoPage() async {
|
|
|
|
bool needRefresh = await NavigatorUtil.goBaseInfoPage(context);
|
|
|
|
if (needRefresh != null && needRefresh) {
|
|
|
|
//刷新页面数据
|
|
|
|
_getCustomerActivityBaseinfo();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//查看大图
|
|
|
|
_showPhotoView(BuildContext context, int index, List imgs,
|
|
|
|
{isShow = false, List dashName}) async {
|
|
|
|
// if (imgs.length == 1 &&
|
|
|
|
// imgs[0] ==
|
|
|
|
// 'http://nosqn.colorcun.com/custom/lite-online/image/def-banner.png') {
|
|
|
|
// imgs[0] = 'http://nosqn.colorcun.com/app/seller-hj-empty.png';
|
|
|
|
// }
|
|
|
|
Utils.setBarStatus(false, color: Colors.black);
|
|
|
|
dynamic result = await showGeneralDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
|
|
// barrierColor: Colors.red,
|
|
|
|
barrierLabel:
|
|
|
|
MaterialLocalizations.of(context).modalBarrierDismissLabel,
|
|
|
|
transitionDuration: const Duration(milliseconds: 150),
|
|
|
|
pageBuilder: (BuildContext context, Animation animation,
|
|
|
|
Animation secondaryAnimation) {
|
|
|
|
Widget child = Stack(
|
|
|
|
children: <Widget>[
|
|
|
|
PhotoPreview(
|
|
|
|
initialIndex: index,
|
|
|
|
photoList: imgs,
|
|
|
|
isShow: isShow,
|
|
|
|
dashName: dashName)
|
|
|
|
],
|
|
|
|
);
|
|
|
|
return child;
|
|
|
|
});
|
|
|
|
Utils.setBarStatus(true, color: Colors.white);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
// TODO: implement build
|
|
|
|
|
|
|
|
_baseIndoProvider = Provider.of<BaseIndoProvider>(context, listen: true);
|
|
|
|
couponProvider = Provider.of<CouponProvider>(context, listen: true);
|
|
|
|
return Container(
|
|
|
|
width: double.infinity,
|
|
...
|
...
|
@@ -157,7 +240,8 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
body: SafeArea(
|
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(top: ScreenUtil().setWidth(10 * 2)),
|
|
|
|
padding:
|
|
|
|
EdgeInsets.only(top: ScreenUtil().setWidth(35 * 2)),
|
|
|
|
child: Column(children: [
|
|
...
|
...
|
@@ -172,14 +256,14 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
Image.asset(
|
|
|
|
"assets/img_ydap.png",
|
|
|
|
width: ScreenUtil().setWidth(220 * 2),
|
|
|
|
height: ScreenUtil().setHeight(120 * 2),
|
|
|
|
height: ScreenUtil().setHeight(98 * 2),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
VEmptyView(10),
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(40)),
|
|
|
|
padding: EdgeInsets.all(
|
|
|
|
ScreenUtil().setWidth(60)),
|
|
|
|
// padding: EdgeInsets.all(
|
|
|
|
// ScreenUtil().setWidth(60)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
gradient: LinearGradient(
|
|
|
|
begin: Alignment.topCenter,
|
|
...
|
...
|
@@ -196,8 +280,186 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
color: Colors.red,
|
|
|
|
height: 160,
|
|
|
|
width:
|
|
|
|
ScreenUtil().setWidth(335 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil().setWidth(200 * 2),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: DecorationImage(
|
|
|
|
alignment:
|
|
|
|
Alignment.topCenter,
|
|
|
|
image: AssetImage(
|
|
|
|
"assets/yd_baiinfo_bg.png"),
|
|
|
|
fit: BoxFit.cover),
|
|
|
|
),
|
|
|
|
child: Row(
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: ScreenUtil()
|
|
|
|
.setWidth(20),
|
|
|
|
left: ScreenUtil()
|
|
|
|
.setWidth(60)),
|
|
|
|
child: qiniuUrl == ''
|
|
|
|
? Image.asset(
|
|
|
|
Utils.getImgPath(
|
|
|
|
'person'),
|
|
|
|
width: ScreenUtil().setWidth(
|
|
|
|
143 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
190 * 2))
|
|
|
|
: Image.network(qiniuUrl,
|
|
|
|
width: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
143 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(190 * 2)),
|
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Spacer(),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(200 * 2),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment
|
|
|
|
.start,
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment
|
|
|
|
.start,
|
|
|
|
children: [
|
|
|
|
VEmptyView(60),
|
|
|
|
GestureDetector(
|
|
|
|
behavior:
|
|
|
|
HitTestBehavior
|
|
|
|
.opaque,
|
|
|
|
onTap: () {
|
|
|
|
_goBaseInfoPage();
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
width: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
100 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
24 * 2),
|
|
|
|
child: Text(
|
|
|
|
name,
|
|
|
|
overflow:
|
|
|
|
TextOverflow
|
|
|
|
.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
fontWeight:
|
|
|
|
FontWeight
|
|
|
|
.bold,
|
|
|
|
color: MyColours
|
|
|
|
.color_794F28,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil()
|
|
|
|
.setSp(
|
|
|
|
36)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(6),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
_goBaseInfoPage();
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
width: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
100 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
18 *
|
|
|
|
2),
|
|
|
|
child: Text(
|
|
|
|
position,
|
|
|
|
overflow:
|
|
|
|
TextOverflow
|
|
|
|
.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_794F28,
|
|
|
|
fontSize: ScreenUtil()
|
|
|
|
.setSp(
|
|
|
|
28)),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(6),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
_goBaseInfoPage();
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
width: ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
100 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil()
|
|
|
|
.setWidth(
|
|
|
|
18 *
|
|
|
|
2),
|
|
|
|
child: Text(
|
|
|
|
phone,
|
|
|
|
overflow:
|
|
|
|
TextOverflow
|
|
|
|
.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_794F28,
|
|
|
|
fontSize: ScreenUtil()
|
|
|
|
.setSp(
|
|
|
|
28)),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
VEmptyView(14),
|
|
|
|
RoundButton(
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(94 * 2),
|
|
|
|
image:
|
|
|
|
Utils.getImgPath(
|
|
|
|
'yd_bianji'),
|
|
|
|
imgWidth: 24,
|
|
|
|
space: ScreenUtil()
|
|
|
|
.setWidth(20),
|
|
|
|
text: '编辑',
|
|
|
|
textColor: MyColours
|
|
|
|
.color_794F28,
|
|
|
|
isBold: false,
|
|
|
|
fontSize: 28,
|
|
|
|
gradientStart: Colors
|
|
|
|
.transparent,
|
|
|
|
gradientEnd: Colors
|
|
|
|
.transparent,
|
|
|
|
onPressed: () {
|
|
|
|
_goBaseInfoPage();
|
|
|
|
},
|
|
|
|
)
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
HEmptyView(60),
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
// Positioned(
|
|
|
|
// bottom: 0,
|
|
|
|
// child: Container(
|
|
|
|
// color: MyColours.color_EEDBC4,
|
|
|
|
// width: double.infinity,
|
|
|
|
// height:
|
|
|
|
// ScreenUtil().setWidth(40),
|
|
|
|
// ))
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
Container(
|
|
|
|
color: MyColours.color_EEDBC4,
|
|
|
|
width: double.infinity,
|
|
|
|
height: ScreenUtil().setWidth(40),
|
|
|
|
),
|
|
|
|
VEmptyView(40),
|
|
|
|
Image.asset(
|
|
...
|
...
|
@@ -206,7 +468,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
height:
|
|
|
|
ScreenUtil().setHeight(33 * 2),
|
|
|
|
),
|
|
|
|
VEmptyView(60),
|
|
|
|
VEmptyView(50),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(48),
|
|
|
|
child: Text(
|
|
...
|
...
|
@@ -217,7 +479,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(34)),
|
|
|
|
ScreenUtil().setSp(36)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(30),
|
|
...
|
...
|
@@ -230,7 +492,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
.setWidth(1.7 * 2),
|
|
|
|
color: MyColours.color_C19E5B,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(26)),
|
|
|
|
ScreenUtil().setSp(28)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(12),
|
|
...
|
...
|
@@ -257,7 +519,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(34)),
|
|
|
|
ScreenUtil().setSp(42)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
...
|
...
|
@@ -269,19 +531,46 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
VEmptyView(18),
|
|
|
|
RoundButton(
|
|
|
|
text: '浏览照片',
|
|
|
|
width: ScreenUtil().setWidth(68 * 2),
|
|
|
|
height: ScreenUtil().setWidth(24 * 2),
|
|
|
|
fontSize: 24,
|
|
|
|
textColor: MyColours.color_794F28,
|
|
|
|
isBold: false,
|
|
|
|
gradientStart:
|
|
|
|
Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
gradientEnd:
|
|
|
|
Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
),
|
|
|
|
_baseIndoProvider.photoList.length > 0
|
|
|
|
? VEmptyView(18)
|
|
|
|
: Container(),
|
|
|
|
_baseIndoProvider.photoList.length > 0
|
|
|
|
? RoundButton(
|
|
|
|
onPressed: () {
|
|
|
|
List<String> temp = [];
|
|
|
|
if (_baseIndoProvider
|
|
|
|
.photoList.length >
|
|
|
|
0) {
|
|
|
|
for (int i = 0;
|
|
|
|
i <
|
|
|
|
_baseIndoProvider
|
|
|
|
.photoList
|
|
|
|
.length;
|
|
|
|
i++) {
|
|
|
|
temp.add(_baseIndoProvider
|
|
|
|
.photoList[i].image);
|
|
|
|
}
|
|
|
|
|
|
|
|
///没有上传完成的不可以点击
|
|
|
|
_showPhotoView(
|
|
|
|
context, 0, temp);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
text: '浏览照片',
|
|
|
|
width: ScreenUtil()
|
|
|
|
.setWidth(68 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setWidth(24 * 2),
|
|
|
|
fontSize: 26,
|
|
|
|
textColor:
|
|
|
|
MyColours.color_794F28,
|
|
|
|
isBold: false,
|
|
|
|
gradientStart: Color.fromRGBO(
|
|
|
|
121, 79, 40, 0.1),
|
|
|
|
gradientEnd: Color.fromRGBO(
|
|
|
|
121, 79, 40, 0.1),
|
|
|
|
)
|
|
|
|
: Container(),
|
|
|
|
VEmptyView(60),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(40),
|
|
...
|
...
|
@@ -293,7 +582,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(28)),
|
|
|
|
ScreenUtil().setSp(30)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
...
|
...
|
@@ -310,7 +599,7 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(28)),
|
|
|
|
ScreenUtil().setSp(30)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// VEmptyView(20),
|
|
...
|
...
|
@@ -326,13 +615,14 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
// gradientEnd:
|
|
|
|
// Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
// ),
|
|
|
|
VEmptyView(60),
|
|
|
|
VEmptyView(50),
|
|
|
|
Image.asset(
|
|
|
|
"assets/yd_down.png",
|
|
|
|
width: ScreenUtil().setWidth(195 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil().setHeight(33 * 2),
|
|
|
|
),
|
|
|
|
VEmptyView(60),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)
|
|
...
|
...
|
@@ -375,6 +665,36 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
Expanded(
|
|
|
|
child: GestureDetector(
|
|
|
|
onTap: () async {
|
|
|
|
if (ObjectUtil.isEmpty(
|
|
|
|
_baseIndoProvider.baseInfoSunModel)) {
|
|
|
|
Utils.showToast('请输入个人资料');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (ObjectUtil.isEmpty(_baseIndoProvider
|
|
|
|
.baseInfoSunModel.name)) {
|
|
|
|
Utils.showToast('请填写您的姓名');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (ObjectUtil.isEmpty(_baseIndoProvider
|
|
|
|
.baseInfoSunModel.phone)) {
|
|
|
|
Utils.showToast('请填写您的联系电话');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (ObjectUtil.isEmpty(_baseIndoProvider
|
|
|
|
.baseInfoSunModel.position)) {
|
|
|
|
Utils.showToast('请填写您在餐厅中的职位');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (ObjectUtil.isEmpty(_baseIndoProvider
|
|
|
|
.baseInfoSunModel.phone)) {
|
|
|
|
Utils.showToast('请上传您的头像');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (ObjectUtil.isEmpty(_baseIndoProvider
|
|
|
|
.baseInfoSunModel.qrcode)) {
|
|
|
|
Utils.showToast('请上传您的微信二维码');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (!couponProvider.hasModify &&
|
|
|
|
couponProvider.coupons.length > 0) {
|
|
|
|
Map<String, String> params = {
|
|
...
|
...
|
@@ -386,9 +706,14 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
.setActivityAsReserve(context, params);
|
|
|
|
if (isSuc) {
|
|
|
|
couponProvider.hasModify = true;
|
|
|
|
|
|
|
|
bool isSuccess =
|
|
|
|
await Utils.goShareInvicationToWeChat(
|
|
|
|
widget.rid);
|
|
|
|
widget.rid,
|
|
|
|
Provider.of<UserModel>(context,
|
|
|
|
listen: false)
|
|
|
|
.user
|
|
|
|
.openid);
|
|
|
|
print(isSuccess);
|
|
|
|
// couponProvider.couponsShow = [];
|
|
|
|
// couponProvider.couponsShow
|
|
...
|
...
|
@@ -399,7 +724,11 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
} else {
|
|
|
|
bool isSuccess =
|
|
|
|
await Utils.goShareInvicationToWeChat(
|
|
|
|
widget.rid);
|
|
|
|
widget.rid,
|
|
|
|
Provider.of<UserModel>(context,
|
|
|
|
listen: false)
|
|
|
|
.user
|
|
|
|
.openid);
|
|
|
|
print(isSuccess);
|
|
|
|
}
|
|
|
|
},
|
...
|
...
|
|