| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /**
- ***************** 管理端接口 *******************
- */
- import {protoMiddleware, protoMiddleware_manager} from "@/services/socket/protobuf/buildReq";
- import {
- GoodsPickupConfirmReq, GoodsPickupConfirmRsp,
- GoodsPickupOperateReq, GoodsPickupOperateRsp, QHJAgreementConfigOperateReq, QHJAgreementConfigOperateRsp,
- t2bExchConfirmBusinessReq,
- t2bExchConfirmBusinessRsp
- } from "@/services/proto/manager/interface";
- import {IMessageHead} from "@/services/socket/protobuf/proto";
- /**
- * 交易所审核结果通知请求
- * @param param
- */
- export const t2bExchConfirmBusiness = (param: t2bExchConfirmBusinessReq): Promise<t2bExchConfirmBusinessRsp> => {
- return protoMiddleware<t2bExchConfirmBusinessReq>(param, 't2bExchConfirmBusinessReq', 't2bExchConfirmBusinessRsp', 2)
- }
- /**
- * 提货相关操作接口 // (提货单操作请求)
- * @param param
- */
- export const goodsPickupOperate = (param: GoodsPickupOperateReq): Promise<GoodsPickupOperateRsp> => {
- return protoMiddleware<GoodsPickupOperateReq>(param, 'GoodsPickupOperateReq', 'GoodsPickupOperateRsp', 2)
- }
- /**
- * 商品提货确认请求 // (完成备货功能)
- * @param param MarketID市场id
- */
- export const goodsPickupConfirm = (param: GoodsPickupConfirmReq): Promise<GoodsPickupConfirmRsp> => {
- var marketid = param.MarketID
- delete param.MarketID
- return protoMiddleware_manager<GoodsPickupConfirmReq>(param, 'GoodsPickupConfirmReq', 'GoodsPickupConfirmRsp', {MarketID: marketid})
- // return protoMiddleware<GoodsPickupConfirmReq>(param, 'GoodsPickupConfirmReq', 'GoodsPickupConfirmRsp', 4)
- }
- /**
- * 协议操作
- * @param param
- */
- export const agreementConfigOperate = (param: QHJAgreementConfigOperateReq): Promise<QHJAgreementConfigOperateRsp> => {
- return protoMiddleware<QHJAgreementConfigOperateReq>(param, 'QHJAgreementConfigOperateReq', 'QHJAgreementConfigOperateRsp', 2)
- }
|