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
18 lines
397 B
package common
|
|
|
|
import (
|
|
"hudongzhuanjia/controllers"
|
|
pay_service "hudongzhuanjia/services/pay"
|
|
)
|
|
|
|
type ImTestCtl struct {
|
|
controllers.BaseCtl
|
|
}
|
|
|
|
func (t *ImTestCtl) SendRB() {
|
|
scene := t.MustGetInt("scene")
|
|
res, err := pay_service.SendRedPack("欧轩测试", "o9XM41l_c27wRuc33hutRVwsQO4U",
|
|
"恭喜发财", "抢红包活动", "越抢越多", 100, 1, scene)
|
|
t.CheckErr(err)
|
|
t.JSON(res)
|
|
}
|