|
@@ -975,12 +975,12 @@ var jishu = 0
|
|
export const wxConfig = function (configInfo, userInfo, cb) {
|
|
export const wxConfig = function (configInfo, userInfo, cb) {
|
|
let url = ''
|
|
let url = ''
|
|
const systemInfo = uni.getSystemInfoSync()
|
|
const systemInfo = uni.getSystemInfoSync()
|
|
- if (systemInfo.platform === 'ios') {
|
|
|
|
- // iOS平台
|
|
|
|
- url = getStorage('realAuthUrl')
|
|
|
|
- } else {
|
|
|
|
- url = window.location.href.split('#')[0] //获取到的url是当前页面的域名
|
|
|
|
- }
|
|
|
|
|
|
+ // if (systemInfo.platform === 'ios') {
|
|
|
|
+ // // iOS平台
|
|
|
|
+ // url = getStorage('realAuthUrl')
|
|
|
|
+ // } else {
|
|
|
|
+ url = window.location.href.split('#')[0] //获取到的url是当前页面的域名
|
|
|
|
+ // }
|
|
api
|
|
api
|
|
.post('/user/jsapi/sign', {
|
|
.post('/user/jsapi/sign', {
|
|
url
|
|
url
|