Ver Fonte

no message

xingzai há 7 meses atrás
pai
commit
c0cbaf75c3
2 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 1
      services/task.go
  2. 0 1
      services/wx_category_template_msg.go

+ 1 - 1
services/task.go

@@ -153,7 +153,7 @@ func Task() {
 		task.AddTask("定时任务处理退款回调", handleOrderRefundTask) //定时任务处理退款回调
 
 		getYanxuanSpecialLikeCountDifferent := task.NewTask("getYanxuanSpecialLikeCountDifferent", "0 0 */1 * * *", GetYanxuanSpecialLikeCountDifferent)
-		task.AddTask("定时任务处理退款回调", getYanxuanSpecialLikeCountDifferent) //定时任务处理退款回调
+		task.AddTask("定时任务处理退款回调", getYanxuanSpecialLikeCountDifferent) // 专栏文章获得点赞时,模板消息通知作者(每个整点发送,不同文章分多条发送)
 	}
 
 	//if utils.RunMode != "release" {

+ 0 - 1
services/wx_category_template_msg.go

@@ -1000,7 +1000,6 @@ func SendCategoryTemplateMsgLikeCountDifferentByYxCategory(likeCount, yanxuanSpe
 			go utils.SendAlarmMsg(" 专栏文章获得点赞时,模板消息通知作者(每个整点发送,不同文章分多条发送)失败,SendCategoryTemplateMsgLikeCountDifferentByYxCategory Err:"+err.Error(), 3)
 		}
 	}()
-	mobile = "15557270714"
 	openIdList, e := models.GetMfyxWxOpenIdByMobileList(mobile)
 	if e != nil && e.Error() != utils.ErrNoRow() {
 		err = errors.New("GetMfyxWxOpenIdByMobileList, Err: " + e.Error())