Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
4546807716
@ -38,14 +38,14 @@ func (this *apiComp) Sell(session comm.IUserSession, req *pb.SmithySellReq) (cod
|
||||
return
|
||||
}
|
||||
|
||||
// conf := this.module.configure.GetSmithyCustomerConf(req.CustomerId)
|
||||
// if conf == nil {
|
||||
// code = pb.ErrorCode_ConfigNoFound
|
||||
// return
|
||||
// }
|
||||
conf := this.module.configure.GetSmithyCustomerConf(req.CustomerId)
|
||||
if conf == nil {
|
||||
code = pb.ErrorCode_ConfigNoFound
|
||||
return
|
||||
}
|
||||
|
||||
// // 发奖励
|
||||
// this.module.DispenseRes(session, conf.Reword, true)
|
||||
// 发奖励
|
||||
this.module.DispenseRes(session, conf.Reword, true)
|
||||
|
||||
rsp := &pb.SmithySellResp{
|
||||
CustomerId: req.CustomerId,
|
||||
|
Loading…
Reference in New Issue
Block a user