3 Commits cf57f91526 ... 4af15a75af

Author SHA1 Message Date
  pzc 4af15a75af 微信分享地址前缀变量 4 years ago
  pzc 1f4cdd61c6 Merge branch 'master' of http://192.168.20.122:3000/zhangbo/UE 4 years ago
  pzc 5379249b0f 生产环境配置 医生流程修改 4 years ago

+ 1 - 1
.env.production

@@ -2,6 +2,6 @@ VUE_APP_Name='生产环境'
 VUE_APP_Host='https://ue.360lj.com'
 VUE_APP_DoctorUserLoginUrl='http://mem.360lj.com/ym/ymallWechat/code?identity=1&redirectCode=doctorHome'
 VUE_APP_PartnerUserLoginUrl='http://mem.360lj.com/ym/ymallWechat/code?identity=2&redirectCode=partnerHome'
-VUE_APP_PatientUserLoginUrl='https://ue.360lj.com/api/Home/Login?identity=0&backurl=https://ue.360lj.com/dist/PatientUser'
+VUE_APP_PatientUserLoginUrl='https://mem.360lj.com/ym/ymallWechat/code?identity=0&redirectCode=PatientUser'
 VUE_APP_Url='https://mem.360lj.com/ym'
 VUE_APP_DoctorAPIUrl = 'https://mem.360lj.com/ym'

+ 1 - 1
src/views/doctorRegister/doctorFlow/doctorFlow.vue

@@ -61,7 +61,7 @@ export default {
       this.registerParams.partnerID = partnerID
 
       const {data: response} = await reqDoctorSubmit(this.registerParams)
-      if(response.success!==1) return this.$toast(response.messages)
+      if(response.success!==1) return this.$toast(response.message)
       this.$router.push('/doctorMine')
     },
 

+ 2 - 1
src/views/shortVideo/ShortVideo.vue

@@ -59,6 +59,7 @@ import { Swiper, SwiperSlide } from "vue-awesome-swiper";
 import videos from "../../components/shortVideo/Videos";
 import infoBar from "../../components/shortVideo/InfoBar";
 import comment from "../../components/shortVideo/Comment";
+var host2 = process.env.VUE_APP_Url; // 获取不同环境下不同的api路径
 import {
   searchVideoList,
   addFollow,
@@ -190,7 +191,7 @@ export default {
         wx.onMenuShareAppMessage({
           title: "亮健优医", // 分享标题
           desc: that.videoList[that.page - 1].videoTitle, // 分享描述
-          link: `https://mem.360lj.com/ym/ymallWechat/code?redirectCode=oneVideoPlayer?id=${
+          link: host2+`/ymallWechat/code?redirectCode=oneVideoPlayer?id=${
             that.videoList[that.page - 1].id
           }`, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
           imgUrl: