فهرست منبع

fix 接口请求地址

zhangyinghao 1 سال پیش
والد
کامیت
fce41f6879
4فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      src/api/request.js
  2. 1 1
      src/main.js
  3. 1 1
      src/views/BossPerCent/PerRight/MyOrder/index.vue
  4. 1 1
      src/views/Search/ConfirmOrder/index.vue

+ 1 - 1
src/api/request.js

@@ -4,7 +4,7 @@ import "nprogress/nprogress.css";
 import popmessage from "@/components/tip/index.js";
 
 const requests = axios.create({
-  baseURL: "http://jzmanagerweb.aiyangniu.net",
+  baseURL: "http://jzuserweb.aiyangniu.net",
   timeout: 25000,
 });
 

+ 1 - 1
src/main.js

@@ -11,7 +11,7 @@ import "element-plus/theme-chalk/index.css";
 import locale from "element-plus/lib/locale/lang/zh-cn";
 
 import * as ElIcon from "@element-plus/icons-vue";
-axios.defaults.baseURL = "http://jzmanagerweb.aiyangniu.net";
+axios.defaults.baseURL = "http://jzuserweb.aiyangniu.net";
 const app = createApp(App);
 app
   .use(store)

+ 1 - 1
src/views/BossPerCent/PerRight/MyOrder/index.vue

@@ -158,7 +158,7 @@ export default {
           if (response.data.code === 200) {
             const payNo = response.data.data
             const url =
-              "http://jzmanagerweb.aiyangniu.net/user/pay/requestPay?payNo=" +
+              "http://jzuserweb.aiyangniu.net/user/pay/requestPay?payNo=" +
               payNo;
             window.open(url);
             this.$router.go(0)

+ 1 - 1
src/views/Search/ConfirmOrder/index.vue

@@ -107,7 +107,7 @@ export default {
         generatePayCode(parmas).then((response) => {
           if (response.data.code === 200) {
             const url =
-              "http://jzmanagerweb.aiyangniu.net/user/pay/requestPay?payNo=" +
+              "http://jzuserweb.aiyangniu.net/user/pay/requestPay?payNo=" +
               response.data.data.payNo;
             window.open(url);
             this.$router.go(-1)