Merge pull request '完成发货接口的开发' (#61) from Brunch_LPQ into main
commit
b3d05f8d65
@ -0,0 +1,9 @@
|
|||||||
|
package com.itmk.web.order.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class SendParm {
|
||||||
|
private Long orderId;
|
||||||
|
}
|
@ -1,6 +1,11 @@
|
|||||||
import http from "../../http";
|
import http from "../../http";
|
||||||
import type { OrderListParm } from "./OrderModel";
|
import type { OrderListParm } from "./OrderModel";
|
||||||
//列表
|
//列表
|
||||||
export const gePcOrdertListApi = (parm:OrderListParm)=>{
|
export const gePcOrdertListApi = (parm: OrderListParm) => {
|
||||||
return http.get("/wxapi/order/getPcOrderList",parm)
|
return http.get("/wxapi/order/getPcOrderList", parm)
|
||||||
|
}
|
||||||
|
|
||||||
|
// 发货
|
||||||
|
export const sendOrderApi = (orderId: string) => {
|
||||||
|
return http.put("/wxapi/order/sendOrder", { orderId: orderId })
|
||||||
}
|
}
|
Loading…
Reference in new issue