diff --git a/api/common.js b/api/common.js new file mode 100644 index 0000000..fb99016 --- /dev/null +++ b/api/common.js @@ -0,0 +1,12 @@ +import http from '../common/axios.js' +//通用接口 +export default { + //获取地区属性结构列表 + getAreaTree(data={}) { + let url = '/area/getAreaTree' + return http.get(url,data).then(res => { + return res; + }) + }, + +} \ No newline at end of file diff --git a/common/config.js b/common/config.js index 949925a..059450c 100644 --- a/common/config.js +++ b/common/config.js @@ -1,10 +1,10 @@ // 线上地址 -const Api_url='http://146.56.228.75:20021/api' -const img_domian = 'http://146.56.228.75:20021/' +// const Api_url='http://146.56.228.75:20021/api' +// const img_domian = 'http://146.56.228.75:20021/' //本地测试地址 -// const Api_url='http://zhjw.cc/api' -// const img_domian = 'http://zhjw.cc/' +const Api_url='http://zhjw.cc/api' +const img_domian = 'http://zhjw.cc/' const IsDemo = false diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue index 548ca26..dbe492c 100644 --- a/pages/market/clue/add_clues.vue +++ b/pages/market/clue/add_clues.vue @@ -1,53 +1,85 @@