/** ***************** 管理端接口 ******************* */ import {protoMiddleware} from "@/services/socket/protobuf/buildReq"; import { GoodsPickupConfirmReq, GoodsPickupConfirmRsp, GoodsPickupOperateReq, GoodsPickupOperateRsp, t2bExchConfirmBusinessReq, t2bExchConfirmBusinessRsp } from "@/services/proto/manager/interface"; /** * 交易所审核结果通知请求 * @param param */ export const t2bExchConfirmBusiness = (param: t2bExchConfirmBusinessReq): Promise => { return protoMiddleware(param, 't2bExchConfirmBusinessReq', 't2bExchConfirmBusinessRsp', 2) } /** * 提货相关操作接口 // (提货单操作请求) * @param param */ export const goodsPickupOperate = (param: GoodsPickupOperateReq): Promise => { return protoMiddleware(param, 'GoodsPickupOperateReq', 'GoodsPickupOperateRsp', 2) } /** * 商品提货确认请求 // (完成备货功能) * @param param */ export const goodsPickupConfirm = (param: GoodsPickupConfirmReq): Promise => { return protoMiddleware(param, 'GoodsPickupConfirmReq', 'GoodsPickupConfirmRsp', 2) }