Browse Source

commit 客户资料接口

xkwg 4 years ago
parent
commit
7be9bf6a0d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/goServiceAPI/ermcp/customInfo/index.ts

+ 2 - 3
src/goServiceAPI/ermcp/customInfo/index.ts

@@ -2,9 +2,8 @@
 
 
 import {BaseResponse, commonSearch_go, commonUpdate_go} from '@/goServiceAPI/index';
 import {BaseResponse, commonSearch_go, commonUpdate_go} from '@/goServiceAPI/index';
 import APP from '@/services';
 import APP from '@/services';
-import * as type from './interface';
 import { QueryCustomInfoEnum } from './type';
 import { QueryCustomInfoEnum } from './type';
-import {AddUserInfoApplyReq, ModifyUserInfoApplyReq} from "./interface";
+import {AddUserInfoApplyReq, ModifyUserInfoApplyReq, QueryCustomInfoType} from "./interface";
 
 
 /**
 /**
  * 查询客户资料
  * 查询客户资料
@@ -12,7 +11,7 @@ import {AddUserInfoApplyReq, ModifyUserInfoApplyReq} from "./interface";
  * @param queryType 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  * @param queryType 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  * @returns 
  * @returns 
  */
  */
-export function QueryCustomInfo(queryType: QueryCustomInfoEnum): Promise<type.QueryCustomInfoType[]> {
+export function QueryCustomInfo(queryType: QueryCustomInfoEnum): Promise<QueryCustomInfoType[]> {
     const MemberUserID = APP.get('userAccount').memberuserid;
     const MemberUserID = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryUserInfo', { MemberUserID, queryType })
     return commonSearch_go('/Ermcp/QueryUserInfo', { MemberUserID, queryType })
         .catch(err => {
         .catch(err => {