Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4af3d65

Browse files
committed
去掉 book
1 parent 5ef4972 commit 4af3d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logic/wechat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (self WechatLogic) AutoReply(ctx context.Context, reqData []byte) (*model.W
173173
return self.resourceContent(ctx, wechatMsg)
174174
} else if strings.Contains(wechatMsg.Content, "项目") {
175175
return self.projectContent(ctx, wechatMsg)
176-
} else if strings.Contains(wechatMsg.Content, "图书") || strings.Contains(wechatMsg.Content, "book") {
176+
} else if strings.Contains(wechatMsg.Content, "图书") {
177177
return self.bookContent(ctx, wechatMsg)
178178
} else {
179179
// 用户获取验证码用

0 commit comments

Comments
 (0)