Commit cacd6eec by zhuzhequan

添加刷新商品信息功能

parent 1b645dcf
...@@ -2,7 +2,7 @@ import { BasePaginationData, BaseRespData } from '@/types/api' ...@@ -2,7 +2,7 @@ import { BasePaginationData, BaseRespData } from '@/types/api'
import axios from './axios' import axios from './axios'
import { import {
LogListData, LogListData,
OrderData, OrderData, Refresh,
SearchForm, SearchForm,
SendOrderData, SendOrderData,
ShipmentForm, ShipmentForm,
...@@ -136,3 +136,10 @@ export function cancelOrderApi(id: number) { ...@@ -136,3 +136,10 @@ export function cancelOrderApi(id: number) {
{ id }, { id },
) )
} }
export function refreshProductInfo(data: Refresh[]) {
return axios.post<never, BaseRespData<never>>(
'factory/customJomallOrder/refreshProductInfo',
data,
)
}
...@@ -16,6 +16,11 @@ export interface Tab { ...@@ -16,6 +16,11 @@ export interface Tab {
quantity: number quantity: number
} }
export interface Refresh {
id: number
}
export interface OrderData { export interface OrderData {
id: number id: number
namespace?: string 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