dongfeng-pay/jhmerchant/routers/router.go

24 lines
461 B
Go
Raw Normal View History

2019-12-19 14:47:58 +08:00
package routers
import (
"github.com/astaxie/beego"
"github.com/dchest/captcha"
2019-12-19 16:43:20 +08:00
"dongfeng-pay/jhmerchant/controllers"
2019-12-19 14:47:58 +08:00
)
func init() {
//生产登录验证码
beego.Handler("/img.do/*.png", captcha.Server(130, 40))
beego.Include(
&controllers.Login{},
&controllers.Index{},
&controllers.TradeRecord{},
&controllers.UserInfo{},
&controllers.Withdraw{},
&controllers.DealExcel{},
&controllers.MultiWithdraw{},
&controllers.History{},
)
}