作者 刘朕

订阅优化

... ... @@ -259,7 +259,7 @@ Page({
// 调出绑定
that.chooseClerk()
// that.getsubmit()
// that.Subscribe()
that.Subscribe()
}
} else {
that.setData({
... ... @@ -463,6 +463,7 @@ Page({
wx.requestSubscribeMessage({
tmplIds: ["-rXW7MPHBorK61LTJvKKY_yprWOJw26WVD0w5KjJTZs","g1HNEvLXjXE5LbvPiFti-DzPKzCg1bGP0sQ4yQH1SBw"],
success: (res) => {
console.log(res,'32222222');
if (res['-rXW7MPHBorK61LTJvKKY_yprWOJw26WVD0w5KjJTZs'] === 'accept'&& res['g1HNEvLXjXE5LbvPiFti-DzPKzCg1bGP0sQ4yQH1SBw'] === 'accept'){
wx.showToast({
title: '订阅OK!',
... ...
{
"setting": {},
"setting": {
"compileHotReLoad": true
},
"condition": {
"miniprogram": {
"list": [
... ... @@ -53,5 +55,6 @@
]
}
},
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "chemai2"
}
\ No newline at end of file
... ...