Commit 7e702a2f17193b78c9e69107d126be0809fc3145

Authored by 梁星国
1 parent bcebca10

0.0.5

CNLiveOrganizationValidationModule.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveOrganizationValidationModule'
11   - s.version = '0.0.4'
  11 + s.version = '0.0.5'
12 12 s.summary = '机构认证模块'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/Controller/CNLiveBOrganizationValidattionController.m
... ... @@ -717,62 +717,62 @@
717 717 // [self.navigationController pushViewController:commitVC animated:YES];
718 718  
719 719 if (!self.footerView.agreementBtn.isSelected) {
720   - [QMUITips showWithText:@"请同意安全协议" inView:AppKeyWindow hideAfterDelay:0.5];
  720 + [QMUITips showWithText:@"请同意安全协议" inView:self.view hideAfterDelay:0.5];
721 721 return;
722 722 }
723 723  
724 724 if (!self.companyName || self.companyName.length == 0) {
725   - [QMUITips showWithText:@"请输入公司全称" inView:AppKeyWindow hideAfterDelay:0.5];
  725 + [QMUITips showWithText:@"请输入公司全称" inView:self.view hideAfterDelay:0.5];
726 726 return;
727 727 }
728 728  
729 729 if (!self.logoImage) {
730   - [QMUITips showWithText:@"请选择企业logo" inView:AppKeyWindow hideAfterDelay:0.5];
  730 + [QMUITips showWithText:@"请选择企业logo" inView:self.view hideAfterDelay:0.5];
731 731 return;
732 732 }
733 733  
734 734 if (!self.companyShortName || self.companyShortName.length == 0) {
735   - [QMUITips showWithText:@"请输入企业简称" inView:AppKeyWindow hideAfterDelay:0.5];
  735 + [QMUITips showWithText:@"请输入企业简称" inView:self.view hideAfterDelay:0.5];
736 736 return;
737 737 }
738 738  
739 739 if (!self.companyId || self.companyId.length == 0) {
740   - [QMUITips showWithText:@"请输入企业代码" inView:AppKeyWindow hideAfterDelay:0.5];
  740 + [QMUITips showWithText:@"请输入企业代码" inView:self.view hideAfterDelay:0.5];
741 741 return;
742 742 }
743 743  
744 744 if (!self.companyContent || self.companyContent.length == 0) {
745   - [QMUITips showWithText:@"请输入企业简介" inView:AppKeyWindow hideAfterDelay:0.5];
  745 + [QMUITips showWithText:@"请输入企业简介" inView:self.view hideAfterDelay:0.5];
746 746 return;
747 747 }
748 748  
749 749 if (!self.tipModel) {
750   - [QMUITips showWithText:@"请选择企业类型" inView:AppKeyWindow hideAfterDelay:0.5];
  750 + [QMUITips showWithText:@"请选择企业类型" inView:self.view hideAfterDelay:0.5];
751 751 return;
752 752 }
753 753  
754 754 if (!self.webUrl || self.webUrl.length == 0) {
755   - [QMUITips showWithText:@"请输入企业网站访问链接" inView:AppKeyWindow hideAfterDelay:0.5];
  755 + [QMUITips showWithText:@"请输入企业网站访问链接" inView:self.view hideAfterDelay:0.5];
756 756 return;
757 757 }
758 758  
759 759 if (!self.legalPerson || self.legalPerson.length == 0) {
760   - [QMUITips showWithText:@"请输入企业法人姓名" inView:AppKeyWindow hideAfterDelay:0.5];
  760 + [QMUITips showWithText:@"请输入企业法人姓名" inView:self.view hideAfterDelay:0.5];
761 761 return;
762 762 }
763 763  
764 764 if (!self.contact || self.contact.length == 0) {
765   - [QMUITips showWithText:@"请输入企业联系人姓名" inView:AppKeyWindow hideAfterDelay:0.5];
  765 + [QMUITips showWithText:@"请输入企业联系人姓名" inView:self.view hideAfterDelay:0.5];
766 766 return;
767 767 }
768 768  
769 769 if (!self.licenseCount || self.licenseCount.length == 0) {
770   - [QMUITips showWithText:@"请输入营业执照号" inView:AppKeyWindow hideAfterDelay:0.5];
  770 + [QMUITips showWithText:@"请输入营业执照号" inView:self.view hideAfterDelay:0.5];
771 771 return;
772 772 }
773 773  
774 774 if (!self.licenseImage) {
775   - [QMUITips showWithText:@"请选择营业执照" inView:AppKeyWindow hideAfterDelay:0.5];
  775 + [QMUITips showWithText:@"请选择营业执照" inView:self.view hideAfterDelay:0.5];
776 776 return;
777 777 }
778 778  
... ... @@ -894,62 +894,62 @@
894 894  
895 895  
896 896 if (!self.footerView.agreementBtn.isSelected) {
897   - [QMUITips showWithText:@"请同意安全协议" inView:AppKeyWindow hideAfterDelay:0.5];
  897 + [QMUITips showWithText:@"请同意安全协议" inView:self.view hideAfterDelay:0.5];
898 898 return;
899 899 }
900 900  
901 901 if (!self.companyName || self.companyName.length == 0) {
902   - [QMUITips showWithText:@"请输入公司全称" inView:AppKeyWindow hideAfterDelay:0.5];
  902 + [QMUITips showWithText:@"请输入公司全称" inView:self.view hideAfterDelay:0.5];
903 903 return;
904 904 }
905 905  
906 906 if (!self.logoUrl || self.logoUrl.length == 0) {
907   - [QMUITips showWithText:@"提交失败,请重试" inView:AppKeyWindow hideAfterDelay:0.5];
  907 + [QMUITips showWithText:@"提交失败,请重试" inView:self.view hideAfterDelay:0.5];
908 908 return;
909 909 }
910 910  
911 911 if (!self.companyShortName || self.companyShortName.length == 0) {
912   - [QMUITips showWithText:@"请输入企业简称" inView:AppKeyWindow hideAfterDelay:0.5];
  912 + [QMUITips showWithText:@"请输入企业简称" inView:self.view hideAfterDelay:0.5];
913 913 return;
914 914 }
915 915  
916 916 if (!self.companyId || self.companyId.length == 0) {
917   - [QMUITips showWithText:@"请输入企业代码" inView:AppKeyWindow hideAfterDelay:0.5];
  917 + [QMUITips showWithText:@"请输入企业代码" inView:self.view hideAfterDelay:0.5];
918 918 return;
919 919 }
920 920  
921 921 if (!self.companyContent || self.companyContent.length == 0) {
922   - [QMUITips showWithText:@"请输入企业简介" inView:AppKeyWindow hideAfterDelay:0.5];
  922 + [QMUITips showWithText:@"请输入企业简介" inView:self.view hideAfterDelay:0.5];
923 923 return;
924 924 }
925 925  
926 926 if (!self.tipModel) {
927   - [QMUITips showWithText:@"请选择企业类型" inView:AppKeyWindow hideAfterDelay:0.5];
  927 + [QMUITips showWithText:@"请选择企业类型" inView:self.view hideAfterDelay:0.5];
928 928 return;
929 929 }
930 930  
931 931 if (!self.webUrl || self.webUrl.length == 0) {
932   - [QMUITips showWithText:@"请输入企业网站访问链接" inView:AppKeyWindow hideAfterDelay:0.5];
  932 + [QMUITips showWithText:@"请输入企业网站访问链接" inView:self.view hideAfterDelay:0.5];
933 933 return;
934 934 }
935 935  
936 936 if (!self.legalPerson || self.legalPerson.length == 0) {
937   - [QMUITips showWithText:@"请输入企业法人姓名" inView:AppKeyWindow hideAfterDelay:0.5];
  937 + [QMUITips showWithText:@"请输入企业法人姓名" inView:self.view hideAfterDelay:0.5];
938 938 return;
939 939 }
940 940  
941 941 if (!self.contact || self.contact.length == 0) {
942   - [QMUITips showWithText:@"请输入企业联系人姓名" inView:AppKeyWindow hideAfterDelay:0.5];
  942 + [QMUITips showWithText:@"请输入企业联系人姓名" inView:self.view hideAfterDelay:0.5];
943 943 return;
944 944 }
945 945  
946 946 if (!self.licenseCount || self.licenseCount.length == 0) {
947   - [QMUITips showWithText:@"请输入营业执照号" inView:AppKeyWindow hideAfterDelay:0.5];
  947 + [QMUITips showWithText:@"请输入营业执照号" inView:self.view hideAfterDelay:0.5];
948 948 return;
949 949 }
950 950  
951 951 if (!self.licenseImageUrl || self.licenseImageUrl.length == 0) {
952   - [QMUITips showWithText:@"提交失败,请重试" inView:AppKeyWindow hideAfterDelay:0.5];
  952 + [QMUITips showWithText:@"提交失败,请重试" inView:self.view hideAfterDelay:0.5];
953 953 return;
954 954 }
955 955  
... ...
Example/CNLiveOrganizationValidationModule/CNLIVEBAppDelegate.m
... ... @@ -70,7 +70,7 @@ static NSString * uuid;
70 70 CNUserShareModel.faceUrl = @"http://yweb0.cnliveimg.com/images/headImg/2019/1211/1576034177571_small.jpg";
71 71 CNUserShareModel.nickname = @"";
72 72 CNUserShareModel.mobile = @"15027621766";
73   - CNUserShareModel.uid = @"10514581";
  73 + CNUserShareModel.uid = @"10514583";
74 74  
75 75 }
76 76 - (NSString *)appUUIDString
... ...