修改查询商品接口
parent
203718afa5
commit
1e3c14c2a2
|
|
@ -103,7 +103,7 @@
|
|||
},
|
||||
methods: {
|
||||
async searchGoods() {
|
||||
const resDate = await this.$api.get(`/v1/product/products`, {
|
||||
const resDate = await this.$api.get(`/v1/store/${this.id}/products`, {
|
||||
params: {
|
||||
keyword: this.keyword
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ module.exports = {
|
|||
devServer: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://test.zichunsheng.cn/api',
|
||||
target: 'https://jiqu.zichunsheng.cn/api',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/api': ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue