提交 8741e375 编写于 作者: M monomania

1.修改公众号模板内容

上级 a3d3e973
......@@ -5,7 +5,7 @@
<ul style="color: red;font-weight: bold;font-size: 12px">
<li><strong>1.比赛为程序自动处理,自动更新同步,目前更新周期为60分钟一次,临场比赛(30分钟内开赛)为5分钟一次.</strong></li>
<li style="text-shadow: 0 0 7px blue"><strong>(重要)2.获取最新推荐请点击"今日推荐"菜单按钮.</strong></li>
<li><strong>3.推荐的场次为当前时间"往前推12个小时"至"往后推24小时"的场次.</strong></li>
<li><strong>3.推荐的场次为当前时间"往前推48个小时"至"往后推24小时"的场次.</strong></li>
<li><strong>4.推荐的场次会随指数的变化而变化(即时盘),如再次进入不见上次推荐的比赛,请查看"待选场次".</strong></li>
<li><strong>5.以下推荐的场次,当前己被模型认可.如后续被认可失败,则会下放到"待选场次"中.</strong></li>
<li style="text-shadow: 0 0 7px blue"><strong>(重要)6.公众号主推模型在"稳胆场次"中,请重点关注.</strong></li>
......
......@@ -12,7 +12,7 @@ type MaterialService struct {
func (this *MaterialService) ModifyNews(wcClient *core.Client) {
this.SuggestTodayService.ModifyTodayTbs(wcClient)
this.SuggestTodayService.ModifyTodayGutsC1E2(wcClient)
this.SuggestTodayService.ModifyTodayC2(wcClient)
this.SuggestTodayService.ModifyTodayGutsC2E2(wcClient)
this.SuggestTodayService.ModifyTodayC2(wcClient)
this.SuggestTodayService.ModifyToday(wcClient)
......
......@@ -306,13 +306,14 @@ func (this *SuggestTodayService) ModifyTodayDetailNew(wcClient *core.Client) {
func (this *SuggestTodayService) ModifyTodayC2(wcClient *core.Client) {
param := new(vo.SuggStubVO)
now := time.Now()
h12, _ := time.ParseDuration("-24h")
h12, _ := time.ParseDuration("-48h")
beginDate := now.Add(h12)
param.BeginDateStr = beginDate.Format("2006-01-02 15:04:05")
h12, _ = time.ParseDuration("24h")
endDate := now.Add(h12)
param.EndDateStr = endDate.Format("2006-01-02 15:04:05")
param.AlFlags = []string{"C2"}
param.IsDesc = false
tempList := this.SuggestService.QueryTbs(param)
//更新推送
first := material.Article{}
......@@ -407,7 +408,7 @@ func (this *SuggestTodayService) ModifyTodayGutsC2E2(wcClient *core.Client) {
/**
今日稳胆比赛c1e2
*/
func (this *SuggestTodayService) __ModifyTodayGutsC1E2(wcClient *core.Client) {
func (this *SuggestTodayService) ModifyTodayGutsC1E2(wcClient *core.Client) {
param := new(vo.SuggStubVO)
now := time.Now()
h12, _ := time.ParseDuration("-24h")
......@@ -457,9 +458,9 @@ func (this *SuggestTodayService) __ModifyTodayGutsC1E2(wcClient *core.Client) {
/**
今日稳胆比赛c1e2
今日稳胆比赛c1
*/
func (this *SuggestTodayService) ModifyTodayGutsC1E2(wcClient *core.Client) {
func (this *SuggestTodayService) ModifyTodayC1(wcClient *core.Client) {
param := new(vo.SuggStubVO)
now := time.Now()
h12, _ := time.ParseDuration("-48h")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册