|
|
@@ -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}`);
|
|
|
@@ -38,7 +38,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}`);
|