格式化代码

This commit is contained in:
sin 2019-03-04 15:30:21 +08:00
parent f7bf280367
commit 13e9b5526b

View File

@ -3,15 +3,15 @@ import request from "../config/request";
export function GetPage() { export function GetPage() {
return request({ return request({
url: '/Page/GetPage', url: '/Page/GetPage',
method: 'get', method: 'get',
}) })
} }
export function getProduct(id) { export function getProduct(id) {
return request({ return request({
url: '/Page/Product', url: '/Page/Product',
method: 'get', method: 'get',
params: { id } params: {id}
}) })
} }