mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-16 07:51:33 +08:00
由gopath形式改为module
This commit is contained in:
23
anget/routers/router.go
Normal file
23
anget/routers/router.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/dchest/captcha"
|
||||
"dongfeng-pay/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{},
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user