mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-11-05 05:37:32 +08:00
提交新项目
This commit is contained in:
298
jhmerchant/routers/commentsRouter_controllers.go
Normal file
298
jhmerchant/routers/commentsRouter_controllers.go
Normal file
@@ -0,0 +1,298 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/astaxie/beego/context/param"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"],
|
||||
beego.ControllerComments{
|
||||
Method: "DownloadExcelModel",
|
||||
Router: `/excel/download`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"],
|
||||
beego.ControllerComments{
|
||||
Method: "DownloadRecordExcel",
|
||||
Router: `/excel/download_excel/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"],
|
||||
beego.ControllerComments{
|
||||
Method: "MakeComplaintExcel",
|
||||
Router: `/excel/make_complaint_record_excel/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"],
|
||||
beego.ControllerComments{
|
||||
Method: "MakeOrderExcel",
|
||||
Router: `/excel/make_order_excel/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"],
|
||||
beego.ControllerComments{
|
||||
Method: "MakeWithdrawExcel",
|
||||
Router: `/excel/make_withdraw_record_excel/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"],
|
||||
beego.ControllerComments{
|
||||
Method: "HistoryQueryAndListPage",
|
||||
Router: `/history/list_history_record/?:params`,
|
||||
AllowHTTPMethods: []string{"get","post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowHistoryListUI",
|
||||
Router: `/history/show_history_list_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoadUserAccountInfo",
|
||||
Router: `/index/loadInfo/`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoadOrderCount",
|
||||
Router: `/index/loadOrders`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoadCountOrder",
|
||||
Router: `/index/load_count_order`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoadUserPayWay",
|
||||
Router: `/index/pay_way`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoadUserPayWayUI",
|
||||
Router: `/index/show_pay_way_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowUI",
|
||||
Router: `/index/ui/`,
|
||||
AllowHTTPMethods: []string{"get","post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "Index",
|
||||
Router: `/`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "FlushCaptcha",
|
||||
Router: `/flushCaptcha.py/`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "UserLogin",
|
||||
Router: `/login.py/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "LoginOut",
|
||||
Router: `/loginOut.py`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "PayDoc",
|
||||
Router: `/pay_doc.py`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"],
|
||||
beego.ControllerComments{
|
||||
Method: "VerifyCaptcha",
|
||||
Router: `/verifyCaptcha.py/:value/:chaId`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:MultiWithdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:MultiWithdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowMultiWithdrawUI",
|
||||
Router: `/multi_withdraw/show_multi_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"],
|
||||
beego.ControllerComments{
|
||||
Method: "ComplaintQueryAndListPage",
|
||||
Router: `/trade/complaint/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"],
|
||||
beego.ControllerComments{
|
||||
Method: "TradeQueryAndListPage",
|
||||
Router: `/trade/list/?:params`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowComplaintUI",
|
||||
Router: `/trade/show_complaint_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowUI",
|
||||
Router: `/trade/show_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"],
|
||||
beego.ControllerComments{
|
||||
Method: "ConfirmOriginPwd",
|
||||
Router: `/user_info/confirm_pwd/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"],
|
||||
beego.ControllerComments{
|
||||
Method: "ModifyUserInfo",
|
||||
Router: `/user_info/modify_userInfo/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowModifyUserInfoUI",
|
||||
Router: `/user_info/show_modify_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowUserInfoUI",
|
||||
Router: `/user_info/show_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "LaunchMultiWithdraw",
|
||||
Router: `/multi_withdraw/launch_multi_withdraw/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "SendMsgForMultiWithdraw",
|
||||
Router: `/multi_withdraw/send_msg_for_multi/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "UserBalance",
|
||||
Router: `/withdraw/balance`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "LaunchSingleWithdraw",
|
||||
Router: `/withdraw/launch_single_withdraw/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "WithdrawQueryAndListPage",
|
||||
Router: `/withdraw/list_record/?:params`,
|
||||
AllowHTTPMethods: []string{"get","post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "SendMsgForWithdraw",
|
||||
Router: `/withdraw/send_msg/?:params`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowListUI",
|
||||
Router: `/withdraw/show_list_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"],
|
||||
beego.ControllerComments{
|
||||
Method: "ShowWithdrawUI",
|
||||
Router: `/withdraw/show_ui`,
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Params: nil})
|
||||
|
||||
}
|
||||
23
jhmerchant/routers/router.go
Normal file
23
jhmerchant/routers/router.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/dchest/captcha"
|
||||
"juhe/jhmerchant/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