yu.jie 4 gadi atpakaļ
vecāks
revīzija
5571014de6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/services/proto/contract/index.ts

+ 2 - 1
src/services/proto/contract/index.ts

@@ -3,6 +3,7 @@ import { ContractOperateApplyReq, ErmcpContractOperateApplyReq } from "@/service
 import { protoMiddleware } from "@/services/socket/protobuf/buildReq";
 import { getUUID } from "@/utils/qt/common";
 import { getTimeValue } from "@/utils/time";
+import {getUserId} from "@/services/bus/account";
 
 /**
  * 合同
@@ -14,7 +15,7 @@ export const operationContractReq = (param: ErmcpContractOperateApplyReq): Promi
         OperatorID: Number(getLongTypeLoginID()),
         ClientTicket: getUUID(),
         OperateApplyID: getTimeValue(),
-        UserID: Number(getLongTypeLoginID())
+        UserID: Number(getUserId())
     }
     Object.assign(param, obj)
     return protoMiddleware<ErmcpContractOperateApplyReq>(param, 'ErmcpContractOperateApplyReq', 'ErmcpContractOperateApplyRsp', 2)