diff --git a/.env.production b/.env.production index 39b7707..110b305 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ ENV = 'production' # 接口地址 -VUE_APP_BASE_API = 'http://www.cyjyyjy.com:8094' +VUE_APP_BASE_API = 'http://art.admin.cyjyyjy.com' VUE_APP_WS_API = 'ws:///127.0.0.1:8001' diff --git a/src/api/Expert.js b/src/api/Expert.js new file mode 100644 index 0000000..3e6f263 --- /dev/null +++ b/src/api/Expert.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/Expert', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/Expert/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/Expert', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/views/information/index.vue b/src/views/information/index.vue index 60112d1..7577bc2 100644 --- a/src/views/information/index.vue +++ b/src/views/information/index.vue @@ -148,15 +148,15 @@ export default { data() { return { delLoading: false, - articleCatetoryId: null, + articleCatetoryId: '', articleCatetoryList: [], setLoading: false } }, created() { - this.$nextTick(() => { - this.init() - }) + // this.$nextTick(() => { + // this.init() + // }) }, mounted(){ this.getArticleCatetory() @@ -197,7 +197,7 @@ export default { page: this.page, size: this.size, sort: sort, - cid: this.articleCatetoryId + cid: this.articleCatetoryId } return true }, diff --git a/src/views/shop/expert/index.vue b/src/views/shop/expert/index.vue new file mode 100644 index 0000000..7d43fa0 --- /dev/null +++ b/src/views/shop/expert/index.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/wsl.txt b/wsl.txt index a25b307..ff318ad 100644 --- a/wsl.txt +++ b/wsl.txt @@ -1,2 +1,2 @@ -url: rsync -r ./ root@39.105.46.0:/root/html/distclode +url: rsync -r ./ root@39.105.46.0:/root/html/sysxh_admin password: CXkj2021!@# \ No newline at end of file