mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-26 20:22:25 +08:00
24 lines
450 B
Go
24 lines
450 B
Go
|
package routers
|
||
|
|
||
|
import (
|
||
|
"github.com/astaxie/beego"
|
||
|
"github.com/dchest/captcha"
|
||
|
"juhe/jhagent/controllers"
|
||
|
)
|
||
|
|
||
|
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{},
|
||
|
)
|
||
|
}
|