Commit dc30ed83 authored by 黄奎's avatar 黄奎

页面修改

parent 7da18522
...@@ -290,7 +290,7 @@ namespace Edu.Module.Customer ...@@ -290,7 +290,7 @@ namespace Edu.Module.Customer
var studentList =studentRepository.GetStudentStaticRepository(EmpIds, StartTime, EndTime); var studentList =studentRepository.GetStudentStaticRepository(EmpIds, StartTime, EndTime);
//试听列表 //试听列表
var trialLessonList = visitor_ReserveRepository.GetVisitorReserveStaticRepository(new Model.ViewModel.Reserve.RB_Visitor_Reserve_Extend() var trialLessonList = visitor_ReserveRepository.GetVisitorReserveStaticRepository(new RB_Visitor_Reserve_Extend()
{ {
QCreateByIds = EmpIds, QCreateByIds = EmpIds,
StartClassDate = StartTime, StartClassDate = StartTime,
......
...@@ -169,12 +169,16 @@ namespace Edu.WebApi.Controllers.LearningGarden ...@@ -169,12 +169,16 @@ namespace Edu.WebApi.Controllers.LearningGarden
{ {
token = "49_j9OOoNVD3jcqJPXX3nb6jalJ9L4AlsltW60JCULR0PikrvW-CYzoFJXK9iS7sK3ygztuf0q5DRGmdJwU7MTqH8tNDtqsMthLHbuiHVVlWIAcycqq24kLKS9K4-FxFMoR-tzLdQOpkYZvDWrEXOFaABAMDU"; token = "49_j9OOoNVD3jcqJPXX3nb6jalJ9L4AlsltW60JCULR0PikrvW-CYzoFJXK9iS7sK3ygztuf0q5DRGmdJwU7MTqH8tNDtqsMthLHbuiHVVlWIAcycqq24kLKS9K4-FxFMoR-tzLdQOpkYZvDWrEXOFaABAMDU";
} }
Common.Plugin.LogHelper.Write("GetGoodsData_Common.Config.IsLocal:" + Common.Config.IsLocal);
if (string.IsNullOrEmpty(token)) if (string.IsNullOrEmpty(token))
{ {
Common.Plugin.LogHelper.Write("GetGoodsData_getToken");
token = Common.Plugin.WeChatHelper.GetAccessToken(Common.Config.WeChatAccountAppId, Common.Config.WeChatAccountAppSecret); token = Common.Plugin.WeChatHelper.GetAccessToken(Common.Config.WeChatAccountAppId, Common.Config.WeChatAccountAppSecret);
Common.Plugin.LogHelper.Write("GetGoodsData_token:" + token);
Cache.WeChat.WeChatReidsCache2.Set(tokenKey, token); Cache.WeChat.WeChatReidsCache2.Set(tokenKey, token);
} }
var resultTotalCount = HttpHelper.HttpGet("https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=" + token); var resultTotalCount = HttpHelper.HttpGet("https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=" + token);
Common.Plugin.LogHelper.Write("GetGoodsData_resultTotalCount:" + resultTotalCount);
JObject parm = JObject.Parse(resultTotalCount); JObject parm = JObject.Parse(resultTotalCount);
List<WeChatLearningGardenItem> allList = new List<WeChatLearningGardenItem>(); List<WeChatLearningGardenItem> allList = new List<WeChatLearningGardenItem>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment