Procházet zdrojové kódy

微信推送跳转功能开发

master
liangkun před 3 roky
rodič
revize
81014e6db7
5 změnil soubory, kde provedl 25 přidání a 6 odebrání
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/SYS_SendMessage/SYS_SendMessageService.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_SendFile/Sys_SendFileService.cs
  3. +11
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/.hbuilderx/launch.json
  4. +3
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/manifest.json
  5. +9
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/SYS_SendMessage/SYS_SendMessageService.cs Zobrazit soubor

@@ -296,7 +296,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
string access_token = weixintokenobj.access_token;
string jsondata = "{\"touser\":\"" + userinfo.OpenIdForWeixin + "\"," +
"\"template_id\":\"" + weixintasktempid + "\"," +
"\"url\":\"" + weixintaskurl + "\"," +
"\"url\":\"" + weixintaskurl + "/#/?page=mail\"," +
"\"data\":{" +
"\"first\": {\"value\":\"您有新的未读邮件\",\"color\":\"#173177\"}," +
"\"keyword1\":{\"value\":\"未读邮件\",\"color\":\"#173177\"}," +


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_SendFile/Sys_SendFileService.cs Zobrazit soubor

@@ -419,7 +419,7 @@ on a.F_UserId=b.F_UserId where b.F_ObjectId in(" + string.Join(",", ppostid) +
string access_token = weixintokenobj.access_token;
string jsondata = "{\"touser\":\"" + userinfo.OpenIdForWeixin + "\"," +
"\"template_id\":\"" + weixintasktempid + "\"," +
"\"url\":\"" + weixintaskurl + "\"," +
"\"url\":\"" + weixintaskurl + "/#/?page=file\"," +
"\"data\":{" +
"\"first\": {\"value\":\"您有新的公文需要查阅\",\"color\":\"#173177\"}," +
"\"keyword1\":{\"value\":\"公文下发\",\"color\":\"#173177\"}," +


+ 11
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/.hbuilderx/launch.json Zobrazit soubor

@@ -0,0 +1,11 @@
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "remote"
}
}
]
}

+ 3
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/manifest.json Zobrazit soubor

@@ -172,13 +172,14 @@
"mode" : "hash",
"base" : ""
},
"title" : "力软敏捷开发框架",
"title" : "数字化智慧校园",
"template" : "index.html",
"optimization" : {
"treeShaking" : {
"enable" : false
}
}
},
"domain" : "testapp.bjquanjiang.com"
},
"mp-qq" : {
"uniStatistics" : {


+ 9
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue Zobrazit soubor

@@ -176,11 +176,18 @@
}
//邮件
if (param.page == "mail") {
// this.TAB_TO("/pages/home");
this.NAV_TO("/pages/EducationalAdministration/SYS_ReceiveMessage/list");
return;
}
//OA待办
if (param.page == "oa") {
// this.TAB_TO("/pages/home");
this.NAV_TO("/pages/nworkflow/myflow/list");
return;
}
//公文接收
if (param.page == "file") {
this.NAV_TO("/pages/EducationalAdministration/Sys_ReceiveFile/list");
return;
}
return;
}


Načítá se…
Zrušit
Uložit