Merge remote-tracking branch 'origin/master'
commit
1c134a20ef
|
@ -1,4 +1,3 @@
|
|||
|
||||
# Vue Shopping
|
||||
# vue 商城
|
||||
|
||||
> TODO
|
|
@ -3,7 +3,8 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "vue-cli-service serve",
|
||||
"start": "npm run serve",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
|
|
|
@ -6,12 +6,12 @@ export function GetPage() {
|
|||
url: '/Page/GetPage',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export function getProduct(id) {
|
||||
return request({
|
||||
url: '/Page/Product',
|
||||
method: 'get',
|
||||
params: {id}
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue