|
@@ -171,7 +171,6 @@ class LoginSecondState extends State<LoginSecond> {
|
|
|
void sendMsg() async {
|
|
void sendMsg() async {
|
|
|
Toast.show(context, '加载中', -1, 'loading');
|
|
Toast.show(context, '加载中', -1, 'loading');
|
|
|
final Result res = await HttpManager.get('rong/sendCode', data: {"phone": widget.phone});
|
|
final Result res = await HttpManager.get('rong/sendCode', data: {"phone": widget.phone});
|
|
|
- print('错误'+res.error);
|
|
|
|
|
Toast.hide();
|
|
Toast.hide();
|
|
|
if (res.success) {
|
|
if (res.success) {
|
|
|
Toast.show(context, '发送成功', 1500, 'success');
|
|
Toast.show(context, '发送成功', 1500, 'success');
|