You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
458 B
19 lines
458 B
import { request } from '@/utils/request'
|
|
|
|
|
|
export function getOrders(status) {
|
|
console.log('status',status)
|
|
return request('/order/list', 'get' , { status })
|
|
}
|
|
|
|
export function addOrder(params) {
|
|
return request('/order/add', 'post', params)
|
|
}
|
|
|
|
export function payment(params) {
|
|
return request('/payment/process', 'post', params)
|
|
}
|
|
|
|
export function setDefaultStoreId(store_id) {
|
|
return request('/shipping/setDefaultStoreId', 'post', { store_id })
|
|
} |