Documentation ¶
Overview ¶
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/19 18:13 ** @Author : yuebin ** @File : add ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/19 18:13 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/13 18:09 ** @Author : yuebin ** @File : base_controller ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/13 18:09 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/16 10:03 ** @Author : yuebin ** @File : datas ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/16 10:03 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/21 16:51 ** @Author : yuebin ** @File : delete ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/21 16:51 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : 过滤功能 ** @Time : 2019/8/8 16:10 ** @Author : yuebin ** @File : filter ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/8 16:10 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/21 11:18 ** @Author : yuebin ** @File : get ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/21 11:18 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/10/23 15:20 ** @Author : yuebin ** @File : page_controller ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/23 15:20 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/11/6 14:03 ** @Author : yuebin ** @File : query.go ** @Last Modified by : yuebin ** @Last Modified time: 2019/11/6 14:03 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/12/8 22:15 ** @Author : yuebin ** @File : send_notify_merchant ** @Last Modified by : yuebin ** @Last Modified time: 2019/12/8 22:15 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/9/20 14:38 ** @Author : yuebin ** @File : test ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/20 14:38 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : c file for ... ** @Time : 2019/8/16 9:49 ** @Author : yuebin ** @File : update ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/16 9:49 ** @Software: GoLand
***************************************************
Index ¶
- Constants
- Variables
- func OrderQuery(bankOrderId string) string
- func SortFirstMenuOrder()
- func SortSecondMenuOrder(firstMenuInfo models.MenuInfo)
- type AccountDataJSON
- type AccountHistoryDataJSON
- type AddController
- func (this *AddController) AddAgent()
- func (this *AddController) AddBankCard()
- func (c *AddController) AddMenu()
- func (this *AddController) AddMerchant()
- func (this *AddController) AddMerchantDeploy()
- func (this *AddController) AddMerchantPayType()
- func (this *AddController) AddOperator()
- func (c *AddController) AddPayFor()
- func (c *AddController) AddPower()
- func (this *AddController) AddRoad()
- func (this *AddController) AddRoadPool()
- func (this *AddController) AddRole()
- func (c *AddController) AddSecondMenu()
- func (c *AddController) AddSelfPayFor()
- func (this *AddController) SavePower()
- func (this *AddController) SaveRoadUid()
- type AgentDataJSON
- type BalanceDataJSON
- type BankCardDataJSON
- type BaseController
- type BaseDataJSON
- type Deletecontroller
- func (c *Deletecontroller) DeleteAccount()
- func (c *Deletecontroller) DeleteAgent()
- func (c *Deletecontroller) DeleteAgentRelation()
- func (c *Deletecontroller) DeleteBankCardRecord()
- func (c *Deletecontroller) DeleteMenu()
- func (c *Deletecontroller) DeleteMerchant()
- func (c *Deletecontroller) DeleteOperator()
- func (c *Deletecontroller) DeletePowerItem()
- func (c *Deletecontroller) DeleteRoad()
- func (c *Deletecontroller) DeleteRoadPool()
- func (c *Deletecontroller) DeleteRole()
- func (c *Deletecontroller) DeleteSecondMenu()
- func (c *Deletecontroller) Finish()
- type DeployTreeJSON
- type EditOperatorDataJSON
- type FilterController
- type GetController
- func (c *GetController) GetAccount()
- func (c *GetController) GetAccountHistory()
- func (c *GetController) GetAgent()
- func (c *GetController) GetAgentToMerchant()
- func (c *GetController) GetAllAccount()
- func (c *GetController) GetAllAgent()
- func (c *GetController) GetAllMerchant()
- func (c *GetController) GetAllRoad()
- func (c *GetController) GetAllRole()
- func (c *GetController) GetAllRollPool()
- func (c *GetController) GetBalance()
- func (c *GetController) GetBankCard()
- func (c *GetController) GetCutPage(l int)
- func (c *GetController) GetDeployTree()
- func (c *GetController) GetEditOperator()
- func (c *GetController) GetFirstMenu()
- func (c *GetController) GetMenu()
- func (c *GetController) GetMerchant()
- func (c *GetController) GetNotifyBankOrderIdList()
- func (c *GetController) GetOneAccount()
- func (c *GetController) GetOneBankCard()
- func (c *GetController) GetOneMenu()
- func (c *GetController) GetOneMerchant()
- func (c *GetController) GetOneMerchantDeploy()
- func (c *GetController) GetOneOperator()
- func (c *GetController) GetOneOrder()
- func (c *GetController) GetOnePayFor()
- func (c *GetController) GetOneRoad()
- func (c *GetController) GetOperator()
- func (c *GetController) GetOrder()
- func (c *GetController) GetOrderProfit()
- func (c *GetController) GetPayFor()
- func (c *GetController) GetPowerItem()
- func (c *GetController) GetProduct()
- func (c *GetController) GetProfit()
- func (c *GetController) GetRoad()
- func (c *GetController) GetRoadPool()
- func (c *GetController) GetRole()
- func (c *GetController) GetSecondMenu()
- func (c *GetController) GetSecondMenus()
- type KeyDataJSON
- type ListDataJSON
- type LoginController
- type MenuDataJSON
- type MerchantDataJSON
- type MerchantDeployDataJSON
- type NotifyBankOrderIdListJSON
- type OperatorDataJSON
- type OrderDataJSON
- type PageController
- func (c *PageController) AccountHistoryPage()
- func (c *PageController) AccountPage()
- func (c *PageController) AgentProfitPage()
- func (c *PageController) AgentToMerchantPage()
- func (c *PageController) BankCardPage()
- func (c *PageController) ConfirmPage()
- func (c *PageController) CreateAgentPage()
- func (c *PageController) EditRolePage()
- func (c *PageController) FirstMenuPage()
- func (c *PageController) Index()
- func (c *PageController) LoginPage()
- func (c *PageController) MainPage()
- func (c *PageController) MenuPage()
- func (c *PageController) MerchantPage()
- func (c *PageController) MerchantPayforPage()
- func (c *PageController) OperatorPage()
- func (c *PageController) OrderInfoPage()
- func (c *PageController) OrderProfitPage()
- func (c *PageController) PayforRecordPage()
- func (c *PageController) PlatFormProfitPage()
- func (c *PageController) PowerPage()
- func (c *PageController) RoadPage()
- func (c *PageController) RoadPoolPage()
- func (c *PageController) RoadProfitPage()
- func (c *PageController) RolePage()
- func (c *PageController) SecondMenuPage()
- func (c *PageController) SelfNotifyPage()
- func (c *PageController) SelfPayforPage()
- func (c *PageController) SelfPlusSubPage()
- type PayForDataJSON
- type PowerItemDataJSON
- type ProductDataJSON
- type ProfitListJSON
- type RoadDataJSON
- type RoadPoolDataJSON
- type RoleInfoDataJSON
- type SecondMenuDataJSON
- type SendNotify
- type SupplierQuery
- type UpdateController
- func (c *UpdateController) ChoosePayForRoad()
- func (c *UpdateController) DownMenu()
- func (c *UpdateController) DownSecondMenu()
- func (c *UpdateController) EditOperator()
- func (c *UpdateController) FreezeOperator()
- func (c *UpdateController) OperatorAccount()
- func (c *UpdateController) ResetAgentPassword()
- func (c *UpdateController) ResultPayFor()
- func (c *UpdateController) UnfreezeOperator()
- func (c *UpdateController) UpMenu()
- func (c *UpdateController) UpSecondMenu()
- func (c *UpdateController) UpdateAccountStatus()
- func (c *UpdateController) UpdateAgentStatus()
- func (c *UpdateController) UpdateMerchantStatus()
- func (c *UpdateController) UpdateOrderStatus()
- func (c *UpdateController) UpdatePassword()
- func (c *UpdateController) UpdateRoadStatus()
Constants ¶
const HOST = "https://gw.open.icbc.com.cn/ui/b2c/pay/transfer/V2"
Variables ¶
var FilterLogin = func(ctx *context.Context) { userID, ok := ctx.Input.Session("userID").(string) if !ok || userID == "" { if !strings.Contains(ctx.Request.RequestURI, "/login.html") && !strings.Contains(ctx.Request.RequestURI, "/getVerifyImg") && !strings.Contains(ctx.Request.RequestURI, "/favicon.ico") && !ctx.Input.IsAjax() { ctx.Redirect(302, "/login.html") } } else { if strings.Contains(ctx.Request.RequestURI, "/login.html") { ctx.Redirect(302, "/") } } }
Functions ¶
func OrderQuery ¶
Types ¶
type AccountDataJSON ¶
type AccountHistoryDataJSON ¶
type AddController ¶
type AddController struct {
BaseController
}
func (*AddController) AddMerchant ¶
func (this *AddController) AddMerchant()
func (*AddController) AddMerchantDeploy ¶
func (this *AddController) AddMerchantDeploy()
* 添加商戶支付配置參數
func (*AddController) AddMerchantPayType ¶
func (this *AddController) AddMerchantPayType()
func (*AddController) AddRoadPool ¶
func (this *AddController) AddRoadPool()
func (*AddController) AddSelfPayFor ¶
func (c *AddController) AddSelfPayFor()
func (*AddController) SavePower ¶
func (this *AddController) SavePower()
type AgentDataJSON ¶
type BalanceDataJSON ¶
type BankCardDataJSON ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
func (*BaseController) GenerateJSON ¶
func (c *BaseController) GenerateJSON(dataJSON interface{})
func (*BaseController) Prepare ¶
func (c *BaseController) Prepare()
func (*BaseController) Test ¶
func (c *BaseController) Test()
type BaseDataJSON ¶
type Deletecontroller ¶
type Deletecontroller struct {
BaseController
}
func (*Deletecontroller) DeleteAgent ¶
func (c *Deletecontroller) DeleteAgent()
func (*Deletecontroller) DeleteAgentRelation ¶
func (c *Deletecontroller) DeleteAgentRelation()
func (*Deletecontroller) DeleteBankCardRecord ¶
func (c *Deletecontroller) DeleteBankCardRecord()
func (*Deletecontroller) DeleteMenu ¶
func (c *Deletecontroller) DeleteMenu()
func (*Deletecontroller) DeleteSecondMenu ¶
func (c *Deletecontroller) DeleteSecondMenu()
func (*Deletecontroller) Finish ¶
func (c *Deletecontroller) Finish()
type DeployTreeJSON ¶
type EditOperatorDataJSON ¶
type FilterController ¶
type FilterController struct {
beego.Controller
}
type GetController ¶
type GetController struct { BaseController DisplayCount int CurrentPage int TotalPage int JumpPage int Offset int }
func (*GetController) GetAccount ¶
func (c *GetController) GetAccount()
func (*GetController) GetAccountHistory ¶
func (c *GetController) GetAccountHistory()
func (*GetController) GetAgent ¶
func (c *GetController) GetAgent()
func (*GetController) GetAgentToMerchant ¶
func (c *GetController) GetAgentToMerchant()
func (*GetController) GetAllAccount ¶
func (c *GetController) GetAllAccount()
func (*GetController) GetAllAgent ¶
func (c *GetController) GetAllAgent()
func (*GetController) GetAllMerchant ¶
func (c *GetController) GetAllMerchant()
func (*GetController) GetAllRoad ¶
func (c *GetController) GetAllRoad()
func (*GetController) GetAllRole ¶
func (c *GetController) GetAllRole()
func (*GetController) GetAllRollPool ¶
func (c *GetController) GetAllRollPool()
func (*GetController) GetBalance ¶
func (c *GetController) GetBalance()
func (*GetController) GetBankCard ¶
func (c *GetController) GetBankCard()
func (*GetController) GetDeployTree ¶
func (c *GetController) GetDeployTree()
func (*GetController) GetEditOperator ¶
func (c *GetController) GetEditOperator()
func (*GetController) GetFirstMenu ¶
func (c *GetController) GetFirstMenu()
func (*GetController) GetMenu ¶
func (c *GetController) GetMenu()
func (*GetController) GetMerchant ¶
func (c *GetController) GetMerchant()
func (*GetController) GetNotifyBankOrderIdList ¶
func (c *GetController) GetNotifyBankOrderIdList()
func (*GetController) GetOneAccount ¶
func (c *GetController) GetOneAccount()
func (*GetController) GetOneBankCard ¶
func (c *GetController) GetOneBankCard()
func (*GetController) GetOneMenu ¶
func (c *GetController) GetOneMenu()
func (*GetController) GetOneMerchant ¶
func (c *GetController) GetOneMerchant()
func (*GetController) GetOneMerchantDeploy ¶
func (c *GetController) GetOneMerchantDeploy()
func (*GetController) GetOneOperator ¶
func (c *GetController) GetOneOperator()
func (*GetController) GetOneOrder ¶
func (c *GetController) GetOneOrder()
func (*GetController) GetOnePayFor ¶
func (c *GetController) GetOnePayFor()
func (*GetController) GetOrderProfit ¶
func (c *GetController) GetOrderProfit()
func (*GetController) GetPayFor ¶
func (c *GetController) GetPayFor()
func (*GetController) GetPowerItem ¶
func (c *GetController) GetPowerItem()
func (*GetController) GetProduct ¶
func (c *GetController) GetProduct()
func (*GetController) GetRoadPool ¶
func (c *GetController) GetRoadPool()
func (*GetController) GetRole ¶
func (c *GetController) GetRole()
func (*GetController) GetSecondMenus ¶
func (c *GetController) GetSecondMenus()
type KeyDataJSON ¶
type ListDataJSON ¶
type LoginController ¶
type LoginController struct {
beego.Controller
}
func (*LoginController) GetVerifyImg ¶
func (c *LoginController) GetVerifyImg()
* 验证码获取,如果获取成功,并将验证码存到session中
func (*LoginController) Login ¶
func (c *LoginController) Login()
func (*LoginController) Logout ¶
func (c *LoginController) Logout()
func (*LoginController) Prepare ¶
func (c *LoginController) Prepare()
type MenuDataJSON ¶
type MerchantDataJSON ¶
type MerchantDeployDataJSON ¶
type MerchantDeployDataJSON struct { Code int Msg string MerchantDeploy models.MerchantDeployInfo }
type OperatorDataJSON ¶
type OrderDataJSON ¶
type PageController ¶
type PageController struct {
beego.Controller
}
func (*PageController) AccountHistoryPage ¶
func (c *PageController) AccountHistoryPage()
func (*PageController) AccountPage ¶
func (c *PageController) AccountPage()
func (*PageController) AgentProfitPage ¶
func (c *PageController) AgentProfitPage()
func (*PageController) AgentToMerchantPage ¶
func (c *PageController) AgentToMerchantPage()
func (*PageController) BankCardPage ¶
func (c *PageController) BankCardPage()
func (*PageController) ConfirmPage ¶
func (c *PageController) ConfirmPage()
func (*PageController) CreateAgentPage ¶
func (c *PageController) CreateAgentPage()
func (*PageController) EditRolePage ¶
func (c *PageController) EditRolePage()
func (*PageController) FirstMenuPage ¶
func (c *PageController) FirstMenuPage()
func (*PageController) Index ¶
func (c *PageController) Index()
func (*PageController) LoginPage ¶
func (c *PageController) LoginPage()
func (*PageController) MainPage ¶
func (c *PageController) MainPage()
func (*PageController) MenuPage ¶
func (c *PageController) MenuPage()
func (*PageController) MerchantPage ¶
func (c *PageController) MerchantPage()
func (*PageController) MerchantPayforPage ¶
func (c *PageController) MerchantPayforPage()
func (*PageController) OperatorPage ¶
func (c *PageController) OperatorPage()
func (*PageController) OrderInfoPage ¶
func (c *PageController) OrderInfoPage()
func (*PageController) OrderProfitPage ¶
func (c *PageController) OrderProfitPage()
func (*PageController) PayforRecordPage ¶
func (c *PageController) PayforRecordPage()
func (*PageController) PlatFormProfitPage ¶
func (c *PageController) PlatFormProfitPage()
func (*PageController) PowerPage ¶
func (c *PageController) PowerPage()
func (*PageController) RoadPage ¶
func (c *PageController) RoadPage()
func (*PageController) RoadPoolPage ¶
func (c *PageController) RoadPoolPage()
func (*PageController) RoadProfitPage ¶
func (c *PageController) RoadProfitPage()
func (*PageController) RolePage ¶
func (c *PageController) RolePage()
func (*PageController) SecondMenuPage ¶
func (c *PageController) SecondMenuPage()
func (*PageController) SelfNotifyPage ¶
func (c *PageController) SelfNotifyPage()
func (*PageController) SelfPayforPage ¶
func (c *PageController) SelfPayforPage()
func (*PageController) SelfPlusSubPage ¶
func (c *PageController) SelfPlusSubPage()
type PayForDataJSON ¶
type PowerItemDataJSON ¶
type ProductDataJSON ¶
type ProfitListJSON ¶
type RoadDataJSON ¶
type RoadPoolDataJSON ¶
type RoleInfoDataJSON ¶
type SecondMenuDataJSON ¶
type SendNotify ¶
type SendNotify struct {
beego.Controller
}
func (*SendNotify) SelfSendNotify ¶
func (c *SendNotify) SelfSendNotify()
func (*SendNotify) SendNotifyToMerchant ¶
func (c *SendNotify) SendNotifyToMerchant()
type SupplierQuery ¶
type SupplierQuery struct {
beego.Controller
}
func (*SupplierQuery) SupplierOrderQuery ¶
func (c *SupplierQuery) SupplierOrderQuery()
func (*SupplierQuery) SupplierPayForQuery ¶
func (c *SupplierQuery) SupplierPayForQuery()
* 向上游查询代付结果
type UpdateController ¶
type UpdateController struct {
BaseController
}
func (*UpdateController) ChoosePayForRoad ¶
func (c *UpdateController) ChoosePayForRoad()
* 手动选择了打款通道
func (*UpdateController) DownMenu ¶
func (c *UpdateController) DownMenu()
func (*UpdateController) EditOperator ¶
func (c *UpdateController) EditOperator()
func (*UpdateController) FreezeOperator ¶
func (c *UpdateController) FreezeOperator()
func (*UpdateController) OperatorAccount ¶
func (c *UpdateController) OperatorAccount()
func (*UpdateController) ResetAgentPassword ¶
func (c *UpdateController) ResetAgentPassword()
func (*UpdateController) UnfreezeOperator ¶
func (c *UpdateController) UnfreezeOperator()
func (*UpdateController) UpdateAccountStatus ¶
func (c *UpdateController) UpdateAccountStatus()
* 更新账户的状态
func (*UpdateController) UpdateAgentStatus ¶
func (c *UpdateController) UpdateAgentStatus()
func (*UpdateController) UpdateMerchantStatus ¶
func (c *UpdateController) UpdateMerchantStatus()
* 冻结商户
func (*UpdateController) UpdateOrderStatus ¶
func (c *UpdateController) UpdateOrderStatus()