This commit is contained in:
liwei1dao 2023-04-10 19:48:46 +08:00
commit 4546807716

View File

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