fangq 4 лет назад
Родитель
Сommit
e9e90f2b1b

+ 9 - 4
.env.development

@@ -2,11 +2,16 @@
 ENV = 'development'
 
 // api接口请求地址
-VUE_APP_BASE_API = 'https://b2b2c-platform.mall4j.com/apis'
+//VUE_APP_BASE_API = 'https://b2b2c-platform.mall4j.com/apis'
+VUE_APP_BASE_API = 'http://127.0.0.1:8088'
 
 // 客服api接口请求地址
-VUE_APP_IM_API = 'https://b2b2c-im.mall4j.com'
+//VUE_APP_IM_API = 'https://b2b2c-im.mall4j.com'
+VUE_APP_IM_API = 'http://127.0.0.1:8089'
 // 客服webstock接口请求地址
-VUE_APP_WS_IM_API = 'wss://b2b2c-im.mall4j.com'
+//VUE_APP_WS_IM_API = 'wss://b2b2c-im.mall4j.com'
+VUE_APP_WS_IM_API = 'ws://127.0.0.1:8089'
 // 静态资源文件url
-VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
+//VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
+VUE_APP_RESOURCES_URL = 'http://192.168.1.218:9000/mall4j/'
+//picture-store

+ 4 - 4
.env.production

@@ -2,11 +2,11 @@
 ENV = 'production'
 
 // api接口请求地址
-VUE_APP_BASE_API = 'https://b2b2c-platform.mall4j.com/apis'
+VUE_APP_BASE_API = 'http://b2b2c-platform.guosen-fumao.cn/apis'
 // 客服api接口请求地址
-VUE_APP_IM_API = 'https://b2b2c-im.mall4j.com'
+VUE_APP_IM_API = 'https://b2b2c-im.guosen-fumao.cn'
 // 客服webstock接口请求地址
-VUE_APP_WS_IM_API = 'wss://b2b2c-im.mall4j.com'
+VUE_APP_WS_IM_API = 'wss://b2b2c-im.guosen-fumao.cn'
 
 # 静态资源文件url
-VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
+VUE_APP_RESOURCES_URL = 'http://b2b2c-minio.guosen-fumao.cn/mall4j/'

+ 2 - 2
README.md

@@ -4,8 +4,8 @@
 
 ## 商业使用
 
-商用请联系 **广州蓝海创新科技有限公司** 获取授权,否则产生的一切任何后果责任由侵权者自负。
+商用请获取授权,否则产生的一切任何后果责任由侵权者自负。
 
 ## 🚫禁止
 
-将本项目的部分或全部代码和资源进行任何形式的再发行(上传GitHub、Gitee等任何公开发行的地方)
+将本项目的部分或全部代码和资源进行任何形式的再发行(上传GitHub、Gitee等任何公开发行的地方)

+ 4 - 0
src/i18n/langs/zh_CN.js

@@ -1764,6 +1764,7 @@ const zhCn = {
     fileUploadConfiguration: '文件上传配置',
     wechatConfiguration: '微信配置',
     alipayConfiguration: '支付宝配置',
+    ldtpayConfiguration: '联兑通配置',
     alipayPaymentConfiguration: '支付宝支付配置',
     alipayAppId: '支付宝AppId',
     appCertPublicKey: '应用公钥证书',
@@ -1845,7 +1846,9 @@ const zhCn = {
     miniPrograms: '微信小程序',
     miniProgramSmall: '小程序',
     weChatOfficialAccountConfiguration: '微信公众号配置',
+    ldtWeChatOfficialAccountConfiguration: '联兑通微信公众号配置',
     weChatOfficialAccount: '微信公众号-',
+    ldtWeChatOfficialAccount: '联兑通平台-',
     messageEncoding: '消息加解密',
     wechatPaymentConfiguration: '微信支付配置',
     wechatPay: '微信支付',
@@ -2595,6 +2598,7 @@ const zhCn = {
     rechargeTime: '充值时间',
     weChatPay: '微信支付',
     aliPay: '支付宝支付',
+    ldtPay: '联兑通支付',
     selePaySetMeal: '请选择套餐购买',
     proFeat: '产品特性',
     eveMsm: '每条短信 ¥',

+ 6 - 0
src/views/modules/score/order.vue

@@ -313,36 +313,42 @@
                 <div class="item">
                   <!-- <span v-if="order.refundStatus === 1" size="small" type="danger">退款申请中</span> -->
                   <span>
+<!--                    待付款-->
                     <span
                       v-if="order.status === 1"
                       size="small"
                       type="danger"
                       >{{ $t("order.pendingPayment") }}</span
                     >
+<!--                    待发货-->
                     <span
                       v-else-if="order.status === 2"
                       size="small"
                       type="danger"
                       >{{ $t("order.toBeShipped") }}</span
                     >
+<!--                    待收货-->
                     <span
                       v-else-if="order.status === 3"
                       size="small"
                       type="danger"
                       >{{ $t("order.pendingReceipt") }}</span
                     >
+<!--                    待成团-->
                     <span
                       v-else-if="order.status === 7"
                       size="small"
                       type="danger"
                       >{{ $t("group.waitGroup") }}</span
                     >
+<!--                    交易成功-->
                     <span
                       v-else-if="order.status === 5"
                       size="small"
                       type="danger"
                       >{{ $t("order.successfulTransaction") }}</span
                     >
+<!--                    交易失败-->
                     <span v-else-if="order.status === 6" size="small">{{
                       $t("order.transactionFailed")
                     }}</span>

+ 4 - 0
src/views/modules/sys/pset/pay-switch-config.vue

@@ -11,6 +11,9 @@
       :rules="dataRule"
       :model="dataForm"
     >
+      <el-form-item :label="$t('platform.ldtPay')" style="width:640px" prop="ldtPaySwitch">
+        <el-switch v-model="dataForm.ldtPaySwitch" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
+      </el-form-item>
       <el-form-item :label="$t('platform.aliPay')" style="width:640px" prop="aliPaySwitch">
         <el-switch v-model="dataForm.aliPaySwitch" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
       </el-form-item>
@@ -38,6 +41,7 @@ export default {
     return {
       visible: false,
       dataForm: {
+        ldtPaySwitch: true,
         aliPaySwitch: true,
         wxPaySwitch: true,
         balancePaySwitch: true,

+ 5 - 0
src/views/modules/sys/pset/pconfigs.vue

@@ -10,6 +10,9 @@
       <el-tab-pane :label="$t('sysManagement.fileUploadConfiguration')">
         <oss-config ref="ossConfig" />
       </el-tab-pane>
+      <el-tab-pane :label="$t('sysManagement.ldtpayConfiguration')">
+        <ldt-config ref="LdtConfig" />
+      </el-tab-pane>
       <el-tab-pane :label="$t('sysManagement.wechatConfiguration')">
         <wx-config ref="WxConfig" />
       </el-tab-pane>
@@ -35,6 +38,7 @@
 import BaseConfig from './base-config.vue'
 import SysSwitchConfig from './sys-switch-config'
 import WxConfig from './wx-config.vue'
+import LdtConfig from './ldt-config.vue'
 import OssConfig from './oss-config'
 import AlipayConfig from './alipay-config'
 import QuickConfig from './quick-config'
@@ -52,6 +56,7 @@ export default {
   },
   components: {
     BaseConfig,
+    LdtConfig,
     WxConfig,
     OssConfig,
     AlipayConfig,