Commit e0091e8728457ec2f5fddb1f8f64edeaaea81bed

Authored by wdn127929
1 parent c1dea779

去掉预订安排页的新增客情接口

@@ -449,7 +449,7 @@ @@ -449,7 +449,7 @@
449 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 449 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
450 CLANG_ENABLE_MODULES = YES; 450 CLANG_ENABLE_MODULES = YES;
451 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 451 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
452 - CURRENT_PROJECT_VERSION = 5562; 452 + CURRENT_PROJECT_VERSION = 5563;
453 DEVELOPMENT_TEAM = 8J59HM8B82; 453 DEVELOPMENT_TEAM = 8J59HM8B82;
454 ENABLE_BITCODE = NO; 454 ENABLE_BITCODE = NO;
455 INFOPLIST_FILE = Runner/Info.plist; 455 INFOPLIST_FILE = Runner/Info.plist;
@@ -632,7 +632,7 @@ @@ -632,7 +632,7 @@
632 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 632 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
633 CLANG_ENABLE_MODULES = YES; 633 CLANG_ENABLE_MODULES = YES;
634 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 634 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
635 - CURRENT_PROJECT_VERSION = 5562; 635 + CURRENT_PROJECT_VERSION = 5563;
636 DEVELOPMENT_TEAM = 8J59HM8B82; 636 DEVELOPMENT_TEAM = 8J59HM8B82;
637 ENABLE_BITCODE = NO; 637 ENABLE_BITCODE = NO;
638 INFOPLIST_FILE = Runner/Info.plist; 638 INFOPLIST_FILE = Runner/Info.plist;
@@ -658,7 +658,7 @@ @@ -658,7 +658,7 @@
658 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 658 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
659 CLANG_ENABLE_MODULES = YES; 659 CLANG_ENABLE_MODULES = YES;
660 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 660 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
661 - CURRENT_PROJECT_VERSION = 5562; 661 + CURRENT_PROJECT_VERSION = 5563;
662 DEVELOPMENT_TEAM = 8J59HM8B82; 662 DEVELOPMENT_TEAM = 8J59HM8B82;
663 ENABLE_BITCODE = NO; 663 ENABLE_BITCODE = NO;
664 INFOPLIST_FILE = Runner/Info.plist; 664 INFOPLIST_FILE = Runner/Info.plist;
@@ -2304,24 +2304,25 @@ class InvicationPageState extends State<InvicationPage> @@ -2304,24 +2304,25 @@ class InvicationPageState extends State<InvicationPage>
2304 } 2304 }
2305 2305
2306 await customerProvider.setGuestInfo(context, pramas); 2306 await customerProvider.setGuestInfo(context, pramas);
2307 - } else {  
2308 - Map<String, String?> pramas = {  
2309 - 'sellerid':  
2310 - Provider.of<UserModel>(context, listen: false).user!.sellerid,  
2311 - 'uid': Provider.of<UserModel>(context, listen: false).user!.openid,  
2312 - 'phone': _baseIndoProvider.phoneController.text.replaceAll(' ', '')  
2313 - };  
2314 - if (memberIndex != null) {  
2315 - pramas['is_member'] = memberIndex == 0 ? '1' : '0';  
2316 - }  
2317 -  
2318 - if (nameStr != null && nameStr!.trim().length > 0) {  
2319 - pramas['rname'] = nameStr;  
2320 - pramas['sex'] = '${sexList.indexOf(sexStr) + 1}';  
2321 - }  
2322 -  
2323 - await customerProvider.setInsGuest(context, pramas);  
2324 } 2307 }
  2308 + // else {
  2309 + // Map<String, String?> pramas = {
  2310 + // 'sellerid':
  2311 + // Provider.of<UserModel>(context, listen: false).user!.sellerid,
  2312 + // 'uid': Provider.of<UserModel>(context, listen: false).user!.openid,
  2313 + // 'phone': _baseIndoProvider.phoneController.text.replaceAll(' ', '')
  2314 + // };
  2315 + // if (memberIndex != null) {
  2316 + // pramas['is_member'] = memberIndex == 0 ? '1' : '0';
  2317 + // }
  2318 +
  2319 + // if (nameStr != null && nameStr!.trim().length > 0) {
  2320 + // pramas['rname'] = nameStr;
  2321 + // pramas['sex'] = '${sexList.indexOf(sexStr) + 1}';
  2322 + // }
  2323 +
  2324 + // await customerProvider.setInsGuest(context, pramas);
  2325 + // }
2325 } 2326 }
2326 2327
2327 _searchMethod(value) { 2328 _searchMethod(value) {
@@ -1810,24 +1810,25 @@ class InvicationPageSimState extends State<InvicationPageSim> @@ -1810,24 +1810,25 @@ class InvicationPageSimState extends State<InvicationPageSim>
1810 } 1810 }
1811 1811
1812 await customerProvider.setGuestInfo(context, pramas); 1812 await customerProvider.setGuestInfo(context, pramas);
1813 - } else {  
1814 - Map<String, String?> pramas = {  
1815 - 'sellerid':  
1816 - Provider.of<UserModel>(context, listen: false).user!.sellerid,  
1817 - 'uid': Provider.of<UserModel>(context, listen: false).user!.openid,  
1818 - 'phone': _baseIndoProvider.phoneController.text.replaceAll(' ', '')  
1819 - };  
1820 - if (memberIndex != null) {  
1821 - pramas['is_member'] = memberIndex == 0 ? '1' : '0';  
1822 - } 1813 + }
  1814 + // else {
  1815 + // Map<String, String?> pramas = {
  1816 + // 'sellerid':
  1817 + // Provider.of<UserModel>(context, listen: false).user!.sellerid,
  1818 + // 'uid': Provider.of<UserModel>(context, listen: false).user!.openid,
  1819 + // 'phone': _baseIndoProvider.phoneController.text.replaceAll(' ', '')
  1820 + // };
  1821 + // if (memberIndex != null) {
  1822 + // pramas['is_member'] = memberIndex == 0 ? '1' : '0';
  1823 + // }
1823 1824
1824 - if (nameStr != null && nameStr!.trim().length > 0) {  
1825 - pramas['rname'] = nameStr;  
1826 - pramas['sex'] = '${sexList.indexOf(sexStr) + 1}';  
1827 - } 1825 + // if (nameStr != null && nameStr!.trim().length > 0) {
  1826 + // pramas['rname'] = nameStr;
  1827 + // pramas['sex'] = '${sexList.indexOf(sexStr) + 1}';
  1828 + // }
1828 1829
1829 - await customerProvider.setInsGuest(context, pramas);  
1830 - } 1830 + // await customerProvider.setInsGuest(context, pramas);
  1831 + // }
1831 } 1832 }
1832 1833
1833 _searchMethod(value) { 1834 _searchMethod(value) {