6
0
Fork 0

修改查询商品接口

hui.zhou
h30830569 2022-05-10 17:35:10 +08:00
parent 203718afa5
commit 1e3c14c2a2
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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': ''