交易奖励
This commit is contained in:
parent
c948f032c2
commit
da1250a68a
@ -38,14 +38,14 @@ func (this *apiComp) Sell(session comm.IUserSession, req *pb.SmithySellReq) (cod
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// conf := this.module.configure.GetSmithyCustomerConf(req.CustomerId)
|
conf := this.module.configure.GetSmithyCustomerConf(req.CustomerId)
|
||||||
// if conf == nil {
|
if conf == nil {
|
||||||
// code = pb.ErrorCode_ConfigNoFound
|
code = pb.ErrorCode_ConfigNoFound
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
|
|
||||||
// // 发奖励
|
// 发奖励
|
||||||
// this.module.DispenseRes(session, conf.Reword, true)
|
this.module.DispenseRes(session, conf.Reword, true)
|
||||||
|
|
||||||
rsp := &pb.SmithySellResp{
|
rsp := &pb.SmithySellResp{
|
||||||
CustomerId: req.CustomerId,
|
CustomerId: req.CustomerId,
|
||||||
|
Loading…
Reference in New Issue
Block a user