go-common/app/job/main/figure/service/pay.go
2019-04-22 18:49:16 +08:00

20 lines
405 B
Go

package service
import (
"context"
"go-common/app/job/main/figure/model"
)
const (
_live = 11
)
// PayOrderInfo handle user coin chenage message
func (s *Service) PayOrderInfo(c context.Context, mid, money int64, merchant int8) (err error) {
column := model.ACColumnPayMoney
if merchant == _live {
column = model.ACColumnPayLiveMoney
}
return s.figureDao.PayOrderInfo(c, column, mid, money)
}