You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
405 B
19 lines
405 B
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) |
|
}
|
|
|