- make OnNewPromotionMsg asnyc

- set limit... in CreateJdPromotion
- correct limitPint to limitPin
This commit is contained in:
gazebo
2018-11-08 17:49:57 +08:00
parent 7f8a7e7820
commit 7ce06d275b
2 changed files with 83 additions and 125 deletions

View File

@@ -30,7 +30,7 @@ type Promotion struct {
Type int `json:"type"`
Status int `json:"status"`
LimitDevice int8 `json:"limitDevice"`
LimitPint int8 `json:"limitPint"`
LimitPin int8 `json:"limitPin"`
LimitDaily int8 `json:"limitDaily"`
LimitCount int `json:"limitCount"`
Source string `orm:"size(255)" json:"source"`