Ver Fonte

commit proto接口文件路径修改后 代码修改

xkwg há 4 anos atrás
pai
commit
728727355c

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

@@ -1,15 +1,11 @@
-import {DeliveryGoodsApplyReq} from "@/protoService/delivery/interface";
 import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
 import APP from "@/services";
 import {Callback} from "@/utils/websocket";
-import {ErmcpContractOperateApplyReq} from "@/protoService/contract/interface";
+import {ErmcpContractOperateApplyReq} from "@/services/proto/contract/interface";
 
 /**
  * 合同
- * @param info ContractOperateApplyInfo 操作信息
- * @param operateType Int 操作类型-1:登记2:确认3:拒绝4:撤销
- * @param remark String 备注
- * @param operateApplyID Long 暂时传0 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)//不知道是啥玩意
+ * @param param
  */
 export const operationContractReq = (param: ErmcpContractOperateApplyReq): Promise<any> => {
     return new Promise((resolve, reject) => {

+ 1 - 1
src/services/proto/delivery/index.ts

@@ -1,7 +1,7 @@
-import {DeliveryGoodsApplyReq} from "@/protoService/delivery/interface";
 import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
 import APP from "@/services";
 import {Callback} from "@/utils/websocket";
+import {DeliveryGoodsApplyReq} from "@/services/proto/delivery/interface";
 
 /**
  * 现货品种申请请求

+ 2 - 5
src/services/proto/spotcontract/index.ts

@@ -1,15 +1,12 @@
 import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
 import APP from "@/services";
 import {Callback} from "@/utils/websocket";
-import {GldErmcpSpotContractOperateReq} from "@/protoService/spotcontract/interface";
+import {GldErmcpSpotContractOperateReq} from "@/services/proto/spotcontract/interface";
 
 /**(重点提醒 这里属于管理端接口,仅用于新增)以上来自android代码  回头需要确认
  * 获取新增采购合同报文
- * @param contractInfo SpotContractInfo 新增合同信息
- * @param OperateType String 操作类型-1:保存草稿2:提交申请3:审核通过4:审核拒绝5:撤回6:正常完结7:异常终止
- * @param Remark String 备注
- * @param SpotContractID String 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  * @param
+ * @param param
  */
 export const orderContract = (param: GldErmcpSpotContractOperateReq): Promise<any> => {
     return new Promise((resolve, reject) => {

+ 1 - 1
src/services/proto/warehouse/index.ts

@@ -1,7 +1,7 @@
 import {buildProtoReq50, parseProtoRsp50} from "@/services/socket/protobuf/buildReq";
 import APP from "@/services";
 import {Callback} from "@/utils/websocket";
-import {WarehouseApplyReq, WarehouseStateChangeReq} from "@/protoService/warehouse/interface";
+import {WarehouseApplyReq, WarehouseStateChangeReq} from "@/services/proto/warehouse/interface";
 
 /**
  * 新增 / 修改 仓库信息请求  修改需要传仓库id