|
|
@@ -1,10 +1,18 @@
|
|
|
import { getUserId } from "@/services/bus/account";
|
|
|
import { getLongTypeLoginID } from "@/services/bus/login";
|
|
|
import {
|
|
|
- ErmcpBizGroupReq, ErmcpBizGroupRsp, HedgeOutMainConfigReq, HedgeOutMainConfigRsp, LoginaccountOperateReq,
|
|
|
+ ErmcpBizGroupReq,
|
|
|
+ ErmcpBizGroupRsp,
|
|
|
+ HedgeOutMainConfigReq,
|
|
|
+ HedgeOutMainConfigRsp,
|
|
|
+ LoginaccountOperateReq,
|
|
|
LoginaccountOperateRsp,
|
|
|
ManagerRoleOperateReq,
|
|
|
ManagerRoleOperateRsp,
|
|
|
+ TaaccountOperateReq,
|
|
|
+ TaaccountOperateRsp,
|
|
|
+ TaaccountTransfersxmoneyReq,
|
|
|
+ TaaccountTransfersxmoneyRsp,
|
|
|
UserInfoCheckMangeReq,
|
|
|
UserInfoCheckMangeRsp
|
|
|
} from "@/services/proto/accountinfo/interface";
|
|
|
@@ -53,4 +61,21 @@ export const bizGroupReq = (param: ErmcpBizGroupReq): Promise<ErmcpBizGroupRsp>
|
|
|
*/
|
|
|
export const hedgeOutMainReq = (param: HedgeOutMainConfigReq): Promise<HedgeOutMainConfigRsp> => {
|
|
|
return protoMiddleware<HedgeOutMainConfigReq>(param, 'HedgeOutMainConfigReq', 'HedgeOutMainConfigRsp', 2)
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 期货账户注销
|
|
|
+ * @param param
|
|
|
+ */
|
|
|
+export const taAccountOperateReq = (param: TaaccountOperateReq): Promise<TaaccountOperateRsp> => {
|
|
|
+ return protoMiddleware<TaaccountOperateReq>(param, 'TaaccountOperateReq', 'TaaccountOperateRsp', 2)
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 期货账户授信
|
|
|
+ * @param param
|
|
|
+ */
|
|
|
+export const taAccountTransfersXMoneyReq = (param: TaaccountTransfersxmoneyReq): Promise<TaaccountTransfersxmoneyRsp> => {
|
|
|
+ return protoMiddleware<TaaccountTransfersxmoneyReq>(param, 'TaaccountTransfersxmoneyReq', 'TaaccountTransfersxmoneyRsp', 2)
|
|
|
+}
|
|
|
+
|