clone 开源的 Shopping
This commit is contained in:
17
mobile-web/src/api/page.js
Normal file
17
mobile-web/src/api/page.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import request from "../config/request";
|
||||
|
||||
|
||||
export function GetPage() {
|
||||
return request({
|
||||
url: '/Page/GetPage',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function getProduct(id) {
|
||||
return request({
|
||||
url: '/Page/Product',
|
||||
method: 'get',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user