Commit 5fddba1156d67b675ae1baff77eba80bf8ce9bd8

Authored by wdn127929
1 parent 745099fa

自己人,建店成功后,不发送短信

@@ -568,14 +568,17 @@ class _CollectStoreInfoPageState extends State<CollectStoreInfoPage> { @@ -568,14 +568,17 @@ class _CollectStoreInfoPageState extends State<CollectStoreInfoPage> {
568 bool success = await collectStoreProvider 568 bool success = await collectStoreProvider
569 .setSellerCollect(context, params); 569 .setSellerCollect(context, params);
570 if (success) { 570 if (success) {
571 - // await collectStoreProvider  
572 - // .sendIntention(context, {  
573 - // "shopname": nameC.text,  
574 - // "shopnumber": phoneC.text,  
575 - // "name": personC.text,  
576 - // "address": storeAddress,  
577 - // "laiyuan": 'app'  
578 - // }); 571 + if (phoneC.text.trim() != '18601216909') {
  572 + await collectStoreProvider
  573 + .sendIntention(context, {
  574 + "shopname": nameC.text,
  575 + "shopnumber": phoneC.text,
  576 + "name": personC.text,
  577 + "address": storeAddress,
  578 + "laiyuan": 'app'
  579 + });
  580 + }
  581 +
579 //成功 582 //成功
580 NavigatorUtil.goCompleteStorePage(context, 583 NavigatorUtil.goCompleteStorePage(context,
581 replace: true); 584 replace: true);