|
@@ -3,7 +3,7 @@ import { getLongTypeLoginID } from '@/services/bus/login';
|
|
|
import { getAreaUserId } from "@/services/bus/user";
|
|
import { getAreaUserId } from "@/services/bus/user";
|
|
|
import {
|
|
import {
|
|
|
DeliveryGoodsApplyReq,
|
|
DeliveryGoodsApplyReq,
|
|
|
- DeliveryGoodsCancelReq,
|
|
|
|
|
|
|
+ DeliveryGoodsCancelReq, ErmcpSpotGoodsPriceReq,
|
|
|
ErmsMiddelGoodsEditReq
|
|
ErmsMiddelGoodsEditReq
|
|
|
} from "@/services/proto/delivery/interface";
|
|
} from "@/services/proto/delivery/interface";
|
|
|
import { protoMiddleware } from "@/services/socket/protobuf/buildReq";
|
|
import { protoMiddleware } from "@/services/socket/protobuf/buildReq";
|
|
@@ -32,4 +32,12 @@ export const ermsMiddelGoodsEdit = (param: ErmsMiddelGoodsEditReq): Promise<any>
|
|
|
*/
|
|
*/
|
|
|
export const deliveryGoodsCancel = (param: DeliveryGoodsCancelReq): Promise<any> => {
|
|
export const deliveryGoodsCancel = (param: DeliveryGoodsCancelReq): Promise<any> => {
|
|
|
return protoMiddleware<DeliveryGoodsCancelReq>(param, 'DeliveryGoodsCancelReq', 'DeliveryGoodsCancelRsp', 2)
|
|
return protoMiddleware<DeliveryGoodsCancelReq>(param, 'DeliveryGoodsCancelReq', 'DeliveryGoodsCancelRsp', 2)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 修改现货市价
|
|
|
|
|
+ * @param param
|
|
|
|
|
+ */
|
|
|
|
|
+export const ermcpSpotGoodsPrice = (param: ErmcpSpotGoodsPriceReq):Promise<any> => {
|
|
|
|
|
+ return protoMiddleware<ErmcpSpotGoodsPriceReq>(param, 'ErmcpSpotGoodsPriceReq', 'ErmcpSpotGoodsPriceReq', 2)
|
|
|
}
|
|
}
|