美团评价自动回复

This commit is contained in:
gazebo
2019-11-11 11:59:27 +08:00
parent f710444cbf
commit 71b01c44f9
5 changed files with 68 additions and 42 deletions

View File

@@ -22,11 +22,9 @@ const (
)
func (c *PurchaseHandler) StartRefreshComment() {
if globals.ReallyCallPlatformAPI {
utils.AfterFuncWithRecover(5*time.Second, func() {
c.refreshCommentOnce()
})
}
utils.AfterFuncWithRecover(5*time.Second, func() {
c.refreshCommentOnce()
})
}
func (c *PurchaseHandler) refreshCommentOnce() {