请求格式

master
chc 2022-11-22 17:59:18 +08:00
parent df3ce9eda7
commit 6baf1534c1
1 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ export function reBuy(sn) {
*/ */
export function shippingMethodList(params) { export function shippingMethodList(params) {
return http.request({ return http.request({
url: `/buyer/trade/carts/shippingMethodList`, url: `/trade/carts/shippingMethodList`,
method: Method.GET, method: Method.GET,
needToken: true, needToken: true,
params: params, params: params,
@ -313,7 +313,7 @@ export function reBuy(sn) {
*/ */
export function setShipMethod(params) { export function setShipMethod(params) {
return http.request({ return http.request({
url: "/buyer/trade/carts/shippingMethod", url: "/trade/carts/shippingMethod",
method: Method.PUT, method: Method.PUT,
needToken: true, needToken: true,
params, params,