- refactor bad comment

This commit is contained in:
gazebo
2019-03-12 15:40:08 +08:00
parent 87a25c893b
commit c46f1597f1
15 changed files with 417 additions and 9 deletions

View File

@@ -72,6 +72,7 @@ var (
func (c *PurchaseHandler) onOrderComment(msg *jdapi.CallbackOrderMsg) (err error) {
globals.SugarLogger.Debugf("onOrderComment orderID:%s", msg.BillID)
go func() error {
c.onOrderComment2(msg)
intOrderID := utils.Str2Int64(msg.BillID)
result, err := api.JdAPI.GetCommentByOrderId(intOrderID)
if err == nil {