Commit 9a451ecc authored by 朱璇's avatar 朱璇

授权接口

parent 399107bc
...@@ -165,7 +165,8 @@ class _PopView implements ICenterPicker { ...@@ -165,7 +165,8 @@ class _PopView implements ICenterPicker {
), ),
).gestureDetector(() { ).gestureDetector(() {
// 一键授权 // 一键授权
_model.givePhoneAuth(111, () { _model.givePhoneAuth(
_model.popViewLive.data.second.leadPhoneRequestId, () {
dismissCallback(); dismissCallback();
}); });
}), }),
...@@ -184,6 +185,8 @@ class _PopView implements ICenterPicker { ...@@ -184,6 +185,8 @@ class _PopView implements ICenterPicker {
@override @override
void initState(VoidCallback dismissCall, BuildContext context) { void initState(VoidCallback dismissCall, BuildContext context) {
this.dismissCallback = dismissCall; this.dismissCallback = dismissCall;
_model.fetchPopviewData(this.planId, this.hospitalId, this.doctorId); _model.fetchPopviewData(this.planId, this.hospitalId, this.doctorId, () {
dismissCallback();
});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment