form2
This commit is contained in:
parent
ba3411ba43
commit
096b29f2a3
|
@ -197,7 +197,9 @@ func (s *StaffUser) Pay(sess *session.AdminSession, req *api.StaffPayReq) {
|
|||
user, err := dao.NewStaffUserDao().Get(cast.ToInt64(req.StaffId))
|
||||
session.CheckDBError(err)
|
||||
session.CheckNilError(user, "用户不存在")
|
||||
|
||||
if req.Title == "" {
|
||||
req.Title = "测试"
|
||||
}
|
||||
NewPay().Pay(corp, user, req.Title, req.PayType, cast.ToInt64(req.Amount))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue