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
|
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