Compare commits
No commits in common. "e8fd8d5f5cfd98ceaa2ea607f8d88121f88ff8c9" and "28a87a07c017d5e18d8fea79ac2286a118747210" have entirely different histories.
e8fd8d5f5c
...
28a87a07c0
@ -168,7 +168,7 @@ func UpdateAiUsedToday(wxId string) {
|
||||
// ClearAiUsedToday
|
||||
// @description: 清空AI今日使用次数
|
||||
func ClearAiUsedToday() {
|
||||
err := client.MySQL.Model(&entity.Friend{}).Where("is_ok = 1").
|
||||
err := client.MySQL.Model(&entity.Friend{}).
|
||||
Update("`ai_used_today`", 0).Error
|
||||
if err != nil {
|
||||
log.Printf("清空AI今日使用次数失败, 错误信息: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user