diff --git a/cloudfunctions/clouddb/index.js b/cloudfunctions/clouddb/index.js index 6237ba9c4e05e3de0a749d86af4bb24a48b88778..eb989fb481d8fad50dba6153057f19eb201de634 100644 --- a/cloudfunctions/clouddb/index.js +++ b/cloudfunctions/clouddb/index.js @@ -2,7 +2,7 @@ const cloud = require('wx-server-sdk') cloud.init({ - env: cloud.DYNAMIC_CURRENT_ENV + env: 'qsrenxun-2gv5wxedd5f979bb' , }) const db = cloud.database() exports.main = async (event, context) => { diff --git a/cloudfunctions/openapi/index.js b/cloudfunctions/openapi/index.js index 7986f1e046f5c9bd805189e0ba361e2c1997d567..6502e56e59afb41e0fe3ef5f0a6f48b7f35c4a95 100644 --- a/cloudfunctions/openapi/index.js +++ b/cloudfunctions/openapi/index.js @@ -1,7 +1,7 @@ const cloud = require('wx-server-sdk') -cloud.init({ - env:'kindear-fd77cd' +wx.cloud.init({ + env: "qsrenxun-2gv5wxedd5f979bb" , }) diff --git a/miniprogram/_self/application.js b/miniprogram/_self/application.js index 4239b69c56698e4cd7c079ffd43698dc48c7f313..e3b5287bce4890c7dad6c6bd63868eae2f0168b0 100644 --- a/miniprogram/_self/application.js +++ b/miniprogram/_self/application.js @@ -4,15 +4,15 @@ */ var CloudSetting = { UseCloud: true, //是否使用云开发服务器 - CloudId:'kindear-fd77cd', //云开发环境id + CloudId:'qsrenxun-2gv5wxedd5f979bb', //云开发环境id TraceUser:true, //记录用户访问日志 AdaptStorge:true, //允许缓存用户数据 } -var EscSetting = { - UseEsc:true, //是否使用自己的服务器 - EscDomain:'https://www.chinafish.club:8081/',//服务器的域名 - AdaptStorge: true, //允许缓存用户数据 -} +// var EscSetting = { +// UseEsc:true, //是否使用自己的服务器 +// EscDomain:'https://www.chinafish.club:8081/',//服务器的域名 +// AdaptStorge: true, //允许缓存用户数据 +// } var LogConfig = { //日志打印控制器 StorgeLog:true, //缓存成功日志 diff --git a/project.config.json b/project.config.json index cbdcf02554e10a9c0793f0980a9025c1547d76f2..f5ecc5bac85e77472b72b1e9ffecf76c8579d632 100644 --- a/project.config.json +++ b/project.config.json @@ -24,8 +24,8 @@ "packNpmManually": false, "packNpmRelationList": [] }, - "appid": "wx219195cad731454f", - "projectname": "CloudUI", + "appid": "wx5a9f2c151ba7cc40", + "projectname": "青山人讯", "libVersion": "2.11.0", "simulatorType": "wechat", "simulatorPluginLibVersion": {},