合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
+5 -3
View File
@@ -82,6 +82,7 @@ namespace BLL
{
miniprogram_state = "formal";
}
//miniprogram_state = "developer";
string contenttype = "application/json;charset=utf-8";
string url = $"https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token={access_token}";
var tempData = new
@@ -89,7 +90,7 @@ namespace BLL
access_token,
touser = getUser.OpenId,
template_id = Const.WX_TemplateID,
page = "pages/index/main",
page = "pages/index/index",
data = new
{
thing2 = new { value = thing2 },
@@ -100,9 +101,10 @@ namespace BLL
miniprogram_state,
lang = "zh_CN",
};
string messages= APIGetHttpService.Http(url, "POST", contenttype, null, JsonConvert.SerializeObject(tempData));
string joson = JsonConvert.SerializeObject(tempData);
string messages= APIGetHttpService.Http(url, "POST", contenttype, null, joson);
//// 记录
SaveSysHttpLog(getUser.UserName, url, messages);
SaveSysHttpLog(getUser.UserName, url+ "$joson$" + joson , messages);
return messages;
}
else