|
@@ -20,6 +20,7 @@ function query_userauth(i = 0) {
|
|
title: '权限查询失败,请稍后再试',
|
|
title: '权限查询失败,请稍后再试',
|
|
icon: "none"
|
|
icon: "none"
|
|
})
|
|
})
|
|
|
|
+ if (i == 0) querySite_Parameter();
|
|
_Http.basic({
|
|
_Http.basic({
|
|
"classname": "sysmanage.develop.userauth.userauth",
|
|
"classname": "sysmanage.develop.userauth.userauth",
|
|
"method": "query_userauth",
|
|
"method": "query_userauth",
|
|
@@ -29,6 +30,20 @@ function query_userauth(i = 0) {
|
|
wx.setStorageSync('userauth', res.data);
|
|
wx.setStorageSync('userauth', res.data);
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+function querySite_Parameter(i = 0) {
|
|
|
|
+ if (i == 5) return;
|
|
|
|
+ _Http.basic({
|
|
|
|
+ "classname": "webmanage.site.site",
|
|
|
|
+ "method": "querySite_Parameter",
|
|
|
|
+ "content": {}
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.msg != '成功') return query_userauth(i + 1);
|
|
|
|
+ wx.setStorageSync('siteP', res.data);
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 站点数据查询 */
|
|
module.exports = {
|
|
module.exports = {
|
|
loginMsg,
|
|
loginMsg,
|
|
query_userauth
|
|
query_userauth
|