diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java index 0a0a27ef0..3b61c1568 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/StoreOrderServiceImpl.java @@ -1522,7 +1522,7 @@ public class StoreOrderServiceImpl extends ServiceImpl diff --git a/yudao-server/src/main/resources/application-test.yaml b/yudao-server/src/main/resources/application-test.yaml index d3e646ff2..636f16edb 100644 --- a/yudao-server/src/main/resources/application-test.yaml +++ b/yudao-server/src/main/resources/application-test.yaml @@ -169,8 +169,8 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta private-key-path: classpath:/test/apiclient_key.pem key-path: classpath:/test/apiclient_cert.p12 cert-serial-no: 47F04D51F958FFEF56A6DFC25BDE83CF89353E19 - notify-url: https://yuxy.perrymake.com/app-api/pay/wxpay/pay_notify - refund-notify-url: https://yuxy.perrymake.com/app-api/pay/wxpay/refund_notify + notify-url: http://api.nnhwl.top/app-api/pay/wxpay/pay_notify + refund-notify-url: http://api.nnhwl.top/app-api/pay/wxpay/refund_notify two: enabled: true app-id: wxb1826c88da21d81e @@ -223,5 +223,5 @@ wx: database: 16 # 数据库索引 password: 20221122@dev # 密码,建议生产环境开启 phone: - query-url: http://192.168.1.94:4006/cyywl-phone-query-api/ + query-url: https://cmx.bskies.cc:8000/cyywl-phone-query-api/ token: eyIwLnR5cCI6IkpXVCIsImFsZyI6IkhTNTEyIn0 \ No newline at end of file diff --git a/yudao-ui-admin/.env.front b/yudao-ui-admin/.env.test similarity index 78% rename from yudao-ui-admin/.env.front rename to yudao-ui-admin/.env.test index 11e9040ac..4a749e28f 100644 --- a/yudao-ui-admin/.env.front +++ b/yudao-ui-admin/.env.test @@ -1,11 +1,14 @@ # 开发环境配置 -ENV = 'development' +ENV = 'test' # 页面标题 VUE_APP_TITLE = 创盈商户管理系统 # 创盈管理系统/本地环境 -VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn' +VUE_APP_BASE_API = 'http://api.nnhwl.top' + +# 根据服务器或域名修改 +PUBLIC_PATH = 'http://admin.nnhwl.top' # 根据服务器或域名修改 PUBLIC_PATH = 'http://admin.nnhwl.top' diff --git a/yudao-ui-admin/package.json b/yudao-ui-admin/package.json index 295c8e0f5..3adf5bf67 100644 --- a/yudao-ui-admin/package.json +++ b/yudao-ui-admin/package.json @@ -7,10 +7,11 @@ "scripts": { "local": "vue-cli-service serve --mode local", "dev": "vue-cli-service serve --mode dev", - "front": "vue-cli-service serve --mode front", + "test": "vue-cli-service serve --mode test", "build:prod": "vue-cli-service build --mode prod", "build:stage": "vue-cli-service build --mode stage", "build:dev": "vue-cli-service build --mode dev", + "build:test": "vue-cli-service build --mode test", "build:static": "vue-cli-service build --mode static", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue src", diff --git a/yudao-ui-admin/src/settings.js b/yudao-ui-admin/src/settings.js index c3be16571..7c73fb448 100644 --- a/yudao-ui-admin/src/settings.js +++ b/yudao-ui-admin/src/settings.js @@ -3,7 +3,7 @@ module.exports = { /** * 推广链接域名 */ - spreadDomain: 'http://h5.cyywl.top', + spreadDomain: process.env.ENV === 'production' ? 'http://h5.cyywl.top' : 'http://h5.nnhwl.top', /** * 推广码生成访问H5链接地址 diff --git a/yudao-ui-admin/src/views/member/promoter/index.vue b/yudao-ui-admin/src/views/member/promoter/index.vue index e73389f91..67716639b 100644 --- a/yudao-ui-admin/src/views/member/promoter/index.vue +++ b/yudao-ui-admin/src/views/member/promoter/index.vue @@ -2,7 +2,7 @@
- + + + + + + + @@ -50,6 +56,11 @@ + + +