Commit cacd6eec by zhuzhequan

添加刷新商品信息功能

parent 1b645dcf
......@@ -2,7 +2,7 @@ import { BasePaginationData, BaseRespData } from '@/types/api'
import axios from './axios'
import {
LogListData,
OrderData,
OrderData, Refresh,
SearchForm,
SendOrderData,
ShipmentForm,
......@@ -136,3 +136,10 @@ export function cancelOrderApi(id: number) {
{ id },
)
}
export function refreshProductInfo(data: Refresh[]) {
return axios.post<never, BaseRespData<never>>(
'factory/customJomallOrder/refreshProductInfo',
data,
)
}
......@@ -16,6 +16,11 @@ export interface Tab {
quantity: number
}
export interface Refresh {
id: number
}
export interface OrderData {
id: number
namespace?: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment