Commit f1434af1 by swl

gx

parent 6429f0a0
No preview for this file type
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build&& cd dist && zip -r dist ./*",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
......
...@@ -18,8 +18,8 @@ export function getList(params) { ...@@ -18,8 +18,8 @@ export function getList(params) {
*/ */
export function get(params) { export function get(params) {
return api( return api(
Object.assign(formatParams("GET", params), { Object.assign(formatParams("POST", params), {
url: `${config.proxy}/admin-api/talent/detail`, url: `${config.proxy}admin-api/talent/get`,
}) })
); );
} }
......
...@@ -4,9 +4,9 @@ import { getToken } from "@/utils/auth"; ...@@ -4,9 +4,9 @@ import { getToken } from "@/utils/auth";
const config = { const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
proxy: "http://81.69.231.72:8881/", // 测试地址 // proxy: "http://81.69.231.72:8881/", // 测试地址
// proxy: "http://192.168.3.87:8881/", //本地 // proxy: "http://192.168.3.87:8881/", //本地
// proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
//axios基本配置 //axios基本配置
......
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