pay.go 405 B

12345678910111213141516171819
  1. package service
  2. import (
  3. "context"
  4. "go-common/app/job/main/figure/model"
  5. )
  6. const (
  7. _live = 11
  8. )
  9. // PayOrderInfo handle user coin chenage message
  10. func (s *Service) PayOrderInfo(c context.Context, mid, money int64, merchant int8) (err error) {
  11. column := model.ACColumnPayMoney
  12. if merchant == _live {
  13. column = model.ACColumnPayLiveMoney
  14. }
  15. return s.figureDao.PayOrderInfo(c, column, mid, money)
  16. }