互动
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.

18 lines
397 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. package common
  2. import (
  3. "hudongzhuanjia/controllers"
  4. pay_service "hudongzhuanjia/services/pay"
  5. )
  6. type ImTestCtl struct {
  7. controllers.BaseCtl
  8. }
  9. func (t *ImTestCtl) SendRB() {
  10. scene := t.MustGetInt("scene")
  11. res, err := pay_service.SendRedPack("欧轩测试", "o9XM41l_c27wRuc33hutRVwsQO4U",
  12. "恭喜发财", "抢红包活动", "越抢越多", 100, 1, scene)
  13. t.CheckErr(err)
  14. t.JSON(res)
  15. }