发放优惠卷,增加过期队列时间处理1
This commit is contained in:
parent
3a0ebf9a36
commit
2f0906718e
@ -214,7 +214,6 @@ func (r *CouponService) AddSystemCoupon(req requests.AddSystemCoupon) (bool, err
|
||||
}
|
||||
|
||||
t, err := time.ParseInLocation("2006-01-02 15:04:05", *req.ValidEndTime, location)
|
||||
fmt.Println(t)
|
||||
if err != nil {
|
||||
tx.Rollback()
|
||||
return false, errors.New("新增失败")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user