Bläddra i källkod

注释QueryModifyUserInfo

huangbin 4 år sedan
förälder
incheckning
ab68582e3b

+ 9 - 9
src/goServiceAPI/ermcp/customInfo/index.ts

@@ -1,6 +1,6 @@
 /** ================================= 客户资料 ================================**/
 
-import {BaseResponse, commonSearch_go, commonUpdate_go} from '@/goServiceAPI/index';
+import { commonSearch_go } from '@/goServiceAPI/index';
 import APP from '@/services';
 import * as type from './interface';
 import { QueryCustomInfoType } from './type';
@@ -15,8 +15,8 @@ export function QueryCustomInfo(queryType: QueryCustomInfoType): Promise<type.Qu
     const MemberUserID = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryUserInfo', { MemberUserID, queryType })
         .catch(err => {
-        throw new Error(`查询客户资料: ${err.message}`);
-    })
+            throw new Error(`查询客户资料: ${err.message}`);
+        })
 }
 
 /**
@@ -26,9 +26,9 @@ export function QueryCustomInfo(queryType: QueryCustomInfoType): Promise<type.Qu
  * @param userInfoApply.
  * @constructor
  */
-export function QueryModifyUserInfo(userInfoApply: type.ModifyUserInfoApplyReq) : Promise<BaseResponse>{
-    return commonUpdate_go('/Ermcp/ModifyUserInfoApply', { userInfoApply })
-        .catch(err => {
-            throw new Error(`新增客户申请: ${err.message}`);
-        })
-}
+// export function QueryModifyUserInfo(userInfoApply: type.ModifyUserInfoApplyReq): Promise<BaseResponse> {
+//     return commonUpdate_go('/Ermcp/ModifyUserInfoApply', { userInfoApply })
+//         .catch(err => {
+//             throw new Error(`新增客户申请: ${err.message}`);
+//         })
+// }

+ 3 - 4
src/goServiceAPI/ermcp/customInfo/interface.ts

@@ -73,7 +73,7 @@ export interface ModifyUserInfoApplyReq {
     headurl?: string;//头像地址
     ipaddress?: string;//IP地址
     isvalidate?: string;//是否有效 (删除后标记为失效) - number;
-//:无效 1:有效
+    //:无效 1:有效
     legalcardbackphotourl?: string;//法人身份证背面照地址
     legalcardfrontphotourl?: string;//法人身份证正面照地址
     legalpersonname?: string;//法人姓名(企业)
@@ -85,7 +85,7 @@ export interface ModifyUserInfoApplyReq {
     modifiedtime?: string;//修改时间
     nickname?: string;//昵称:默认为手机号脱敏(1399999) 或 名称脱敏(张)
     openmode?: number;//开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 1number;
-//:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
+    //:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
     otherurl?: string;//其它图片地址[使用分号分隔]
     postalcode?: string;//邮政编码
     provinceid?: number;//省
@@ -94,8 +94,7 @@ export interface ModifyUserInfoApplyReq {
     referral?: string;//推荐人编码
     remark?: string;//备注
     removebeforestatus?: number;//REMOVEBEFORESTATUS
-    sex?: number;//性别 - number;
-//:女 1:男
+    sex?: number;//性别 - number;//:女 1:男
     signedstatus?: number;//账户一号签签约状态
     signpdfurl?: string;//签约pdf文件
     subbranch?: string;//开户支行