huangbin 4 lat temu
rodzic
commit
5d7c080ab8

+ 3 - 3
src/services/go/ermcp/account/index.ts

@@ -1,6 +1,6 @@
 /** ================================= 账户管理 ================================**/
 import APP from "@/services";
-import {commonSearch_go} from "@/services/go";
+import { commonSearch_go } from "@/services/go";
 import {
     ErmcpBizGroupEx,
     ErmcpBizGroupReq,
@@ -24,7 +24,7 @@ export function QueryAccMgrBizGroupSet(req: ErmcpBizGroupReq): Promise<ErmcpBizG
  * 查询账户管理期货账号(账户管理/期货账号)  /Ermcp/QueryAccMgrTaaccount
  * @constructor
  */
-export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx>{
+export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx> {
     const userid = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryAccMgrTaaccount', { userid }).catch((err) => {
         throw new Error(`查询账户管理期货账号: ${err.message}`);
@@ -37,7 +37,7 @@ export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx>{
  * @param querytype 查询类型 1-业务账户 2-交易账户 3-管理账户
  * @constructor
  */
-export function QueryAccMgrLoginUser(querytype: number): Promise<ErmcpLoginUserEx>{
+export function QueryAccMgrLoginUser(querytype: number): Promise<ErmcpLoginUserEx[]> {
     const userid = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryAccMgrLoginUser', { userid, querytype }).catch((err) => {
         throw new Error(`查询账户管理登录账号: ${err.message}`);

+ 18 - 0
src/views/information/spot-contract/components/check/setup.ts

@@ -0,0 +1,18 @@
+// import {  QueryAccMgrLoginUser }  from '@/services/go/ermcp/account'
+
+export function handleAccountManager() {
+    // function getList(arr) {
+    //     arr.forEach(el => {
+
+    //     });
+    // }
+    // QueryAccMgrLoginUser(1).then(res => {
+    //     const map = new Set<number>([])
+    //     res.forEach(e => {
+
+    //     })
+    //     if (res.length) {
+
+    //     }
+    // })
+}