GM邮件状态异常修复
This commit is contained in:
parent
0936223d7f
commit
2d233bb2cd
@ -65,13 +65,14 @@ func (this *Api_Comp) CreateMail(c *engine.Context) {
|
||||
CreateTime: uint64(time.Now().Unix()),
|
||||
DueTime: uint64(time.Now().Unix() + 30*24*3600),
|
||||
Check: false,
|
||||
Reward: false,
|
||||
Reward: true,
|
||||
Items: req.Items,
|
||||
Cid: req.Cid,
|
||||
Param: req.Param,
|
||||
}
|
||||
if len(req.Items) > 0 {
|
||||
mail.Reward = true
|
||||
|
||||
if len(mail.GetItems()) > 0 {
|
||||
mail.Reward = false
|
||||
}
|
||||
ctr, _ := context.WithTimeout(context.Background(), time.Second*5)
|
||||
if _, err = this.module.service.RpcGo(
|
||||
|
Loading…
Reference in New Issue
Block a user