diff --git a/config.js b/config.js index 3833042..a01cd0b 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,7 @@ // 应用全局配置 module.exports = { - // baseUrl: 'https://hb.jzce.com', - baseUrl: 'http://188.188.3.232:48080', + baseUrl: 'https://hb.jzce.com', + // baseUrl: 'http://188.188.3.232:48080', baseApi: '/admin-api', // 应用信息 appInfo: { diff --git a/manifest.json b/manifest.json index 2e47373..15cc01d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,79 +1,79 @@ { - "name": "智慧生态", - "appid": "__UNI__25A9D80", - "description": "", - "versionName": "1.0.0", - "versionCode": 1, - "transformPx": false, - "app-plus": { - "usingComponents": true, - "nvueCompiler": "uni-app", - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - "modules": {}, - "distribute": { - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios": {}, - "sdkConfigs": {} - } - }, - "quickapp": {}, - "mp-weixin": { - "appid": "wx6d80755768234f3b", - "setting": { - "urlCheck": false, - "es6": true, - "minified": true, - "postcss": true - }, - "optimization": { - "subPackages": true - }, - "usingComponents": true, - "lazyCodeLoading": "requiredComponents", - "permission": { - "scope.record": { - "desc": "用于语音输入" - }, - "scope.userLocation": { - "desc": "获取企业位置" - } - }, - "requiredPrivateInfos": ["getLocation", "chooseLocation"] - }, - "vueVersion": "2", - "h5": { - "template": "static/index.html", - "devServer": { - "port": 9090, - "https": false - }, - "title": "Yudao-App", - "router": { - "mode": "hash", - "base": "./" - } - } -} \ No newline at end of file + "name" : "智慧生态", + "appid" : "__UNI__CECFD0D", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : 1, + "transformPx" : false, + "app-plus" : { + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "modules" : {}, + "distribute" : { + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios" : {}, + "sdkConfigs" : {} + } + }, + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wx6d80755768234f3b", + "setting" : { + "urlCheck" : false, + "es6" : true, + "minified" : true, + "postcss" : true + }, + "optimization" : { + "subPackages" : true + }, + "usingComponents" : true, + "lazyCodeLoading" : "requiredComponents", + "permission" : { + "scope.record" : { + "desc" : "用于语音输入" + }, + "scope.userLocation" : { + "desc" : "获取企业位置" + } + }, + "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ] + }, + "vueVersion" : "2", + "h5" : { + "template" : "static/index.html", + "devServer" : { + "port" : 9090, + "https" : false + }, + "title" : "nature-secure-miniapp", + "router" : { + "mode" : "hash", + "base" : "./" + } + } +} diff --git a/pages/owner.vue b/pages/owner.vue index b66705b..b780dce 100644 --- a/pages/owner.vue +++ b/pages/owner.vue @@ -36,7 +36,7 @@ > 消息通知 - + + + 点击开启 + - - 点击开启 - - @@ -145,15 +149,15 @@ export default { this.user = res.data }) }, - openSubMessage(){ - uni.requestSubscribeMessage({ - //此处填写刚才申请模板的模板ID - tmplIds: ['E8RK91cPLMios6ZHoKx6FJOV4H2kodx6yPWYp7jpLJY'], - success(res) { - console.log('requestSubscribeMessage', res) - } - }) - }, + openSubMessage() { + uni.requestSubscribeMessage({ + //此处填写刚才申请模板的模板ID + tmplIds: ['E8RK91cPLMios6ZHoKx6FJOV4H2kodx6yPWYp7jpLJY'], + success(res) { + console.log('requestSubscribeMessage', res) + } + }) + }, edit() { uni.navigateTo({ url: '/sub/owner/edit'