上传支付消耗系统代码
This commit is contained in:
parent
89fe281c44
commit
315fd20011
@ -41,6 +41,13 @@ func (this *apiComp) DailyBuy(session comm.IUserSession, req *pb.PayDailyBuyReq)
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(conf.Costitem) > 0 {
|
||||||
|
if code = this.module.ConsumeRes(session, conf.Costitem, true); code != pb.ErrorCode_Success {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if code = this.module.modelDaily.delivery(session, conf.Packagetype); code != pb.ErrorCode_Success {
|
if code = this.module.modelDaily.delivery(session, conf.Packagetype); code != pb.ErrorCode_Success {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user