Commit d59f1113 authored by 郑秀明's avatar 郑秀明

修改请求路径

parent a61452ab
......@@ -66,7 +66,7 @@
},
getData(params) {
uni.request({
url: '/api/credit_goods/get_credit_second_goods',
url: '/uni/api/credit_goods/get_credit_second_goods',
method: 'POST',
data: params,
dataType: 'json',
......@@ -91,7 +91,7 @@
}
this.tabIndex = index;
uni.request({
url: '/api/credit_goods/get_credit_second_goods',
url: '/uni/api/credit_goods/get_credit_second_goods',
method: 'POST',
data: {
...params,
......@@ -110,7 +110,7 @@
changePage(data) {
const { current } = data;
uni.request({
url: '/api/credit_goods/get_credit_second_goods',
url: '/uni/api/credit_goods/get_credit_second_goods',
method: 'POST',
data: {
...this.params,
......@@ -125,7 +125,7 @@
},
search(keyword) {
uni.request({
url: '/api/credit_goods/get_credit_second_goods',
url: '/uni/api/credit_goods/get_credit_second_goods',
method: 'POST',
data: {
goods_name: this.keyword,
......
......@@ -116,7 +116,7 @@
},
getData() {
uni.request({
url: '/api/credit_goods/get_credit_index_goods',
url: '/uni/api/credit_goods/get_credit_index_goods',
method: 'GET',
dataType: 'json',
success: (res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment