WinG il y a 2 ans
Parent
commit
b96807cddd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/customservice/customservice.js

+ 1 - 1
pages/customservice/customservice.js

@@ -77,7 +77,7 @@ Page({
 	  var success = function (res) {
 		  let info = res.data;
 		  if(info.wx_user.id){
-			  let uurl = encodeURIComponent(`https://tfohowapi.hiwavo.com/h5yingyuchat.html?&visitor_id=fohow${info.wx_user.id}&visitor_name=${info.wx_user.nickname}&avator=${info.wx_user.head}&from=xcx`);
+			  let uurl = encodeURIComponent(`https://tfohowapi.hiwavo.com/h5yingyuchat.html?&visitor_id=fohow-${info.wx_user.id}&visitor_name=${info.wx_user.nickname}&avator=${info.wx_user.head}&from=xcx`);
 			  console.log("uurl",uurl);
 			  wx.navigateTo({
 			    url: '/pages/web/web?id='+uurl