controllers

package
v0.0.0-...-fab86cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2019 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

**************************************************

** @Desc : This file for 账户变动
** @Time : 19.12.10 10:42
** @Author : Joker
** @File : account_history
** @Last Modified by : Joker
** @Last Modified time: 19.12.10 10:42
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 处理Excel文件
** @Time : 19.12.6 16:25
** @Author : Joker
** @File : deal_excel
** @Last Modified by : Joker
** @Last Modified time: 19.12.6 16:25
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 首页
** @Time : 19.11.30 11:49
** @Author : Joker
** @File : index
** @Last Modified by : Joker
** @Last Modified time: 19.11.30 11:49
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 保持会话
** @Time : 19.11.29 13:55
** @Author : Joker
** @File : keep_session
** @Last Modified by : Joker
** @Last Modified time: 19.11.29 13:55
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 用户登录
** @Time : 19.11.29 13:52
** @Author : Joker
** @File : login
** @Last Modified by : Joker
** @Last Modified time: 19.11.29 13:52
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 批量提现
** @Time : 19.12.6 17:07
** @Author : Joker
** @File : multi_withdraw
** @Last Modified by : Joker
** @Last Modified time: 19.12.6 17:07
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 交易记录
** @Time : 19.12.2 16:34
** @Author : Joker
** @File : trade_record
** @Last Modified by : Joker
** @Last Modified time: 19.12.2 16:34
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 用户信息控制
** @Time : 19.12.3 10:38
** @Author : Joker
** @File : user_info
** @Last Modified by : Joker
** @Last Modified time: 19.12.3 10:38
** @Software: GoLand

***************************************************

**************************************************

** @Desc : This file for 代付申请和记录
** @Time : 19.12.4 10:50
** @Author : Joker
** @File : withdraw
** @Last Modified by : Joker
** @Last Modified time: 19.12.4 10:50
** @Software: GoLand

***************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DealExcel

type DealExcel struct {
	KeepSession
}

func (*DealExcel) DownloadExcelModel

func (c *DealExcel) DownloadExcelModel()

下载模板 @router /excel/download

func (*DealExcel) DownloadRecordExcel

func (c *DealExcel) DownloadRecordExcel()

下载excel @router /excel/download_excel/?:params [get]

func (*DealExcel) MakeComplaintExcel

func (c *DealExcel) MakeComplaintExcel()

导出投诉记录 @router /excel/make_complaint_record_excel/?:params [get]

func (*DealExcel) MakeOrderExcel

func (c *DealExcel) MakeOrderExcel()

导出订单记录 @router /excel/make_order_excel/?:params [get]

func (*DealExcel) MakeWithdrawExcel

func (c *DealExcel) MakeWithdrawExcel()

导出提现记录 @router /excel/make_withdraw_record_excel/?:params [get]

type History

type History struct {
	KeepSession
}

func (*History) HistoryQueryAndListPage

func (c *History) HistoryQueryAndListPage()

@router /history/list_history_record/?:params [get,post]

func (*History) ShowHistoryListUI

func (c *History) ShowHistoryListUI()

账户资产变动列表 @router /history/show_history_list_ui

type Index

type Index struct {
	KeepSession
}

func (*Index) LoadCountOrder

func (c *Index) LoadCountOrder()

加载总订单信息 @router /index/load_count_order

func (*Index) LoadOrderCount

func (c *Index) LoadOrderCount()

加载总订单数 @router /index/loadOrders

func (*Index) LoadUserAccountInfo

func (c *Index) LoadUserAccountInfo()

加载用户账户金额信息 @router /index/loadInfo/

func (*Index) LoadUserPayWay

func (c *Index) LoadUserPayWay()

@router /index/pay_way

func (*Index) LoadUserPayWayUI

func (c *Index) LoadUserPayWayUI()

加载用户支付配置 @router /index/show_pay_way_ui

func (*Index) ShowUI

func (c *Index) ShowUI()

首页 @router /index/ui/ [get,post]

type KeepSession

type KeepSession struct {
	beego.Controller
}

func (*KeepSession) Prepare

func (c *KeepSession) Prepare()

生成随机md5值,客户端和服务端各保存一份 客户端每次请求都将重写md5值 若用户在30分钟内没有操作行为或连续操作时间超过3小时,则自动退出

type Login

type Login struct {
	beego.Controller
}

func (*Login) FlushCaptcha

func (c *Login) FlushCaptcha()

重绘验证码 @router /flushCaptcha.py/ [get]

func (*Login) Index

func (c *Login) Index()

@router /

func (*Login) LoginOut

func (c *Login) LoginOut()

退出登录 @router /loginOut.py

func (*Login) PayDoc

func (c *Login) PayDoc()

对接文档 @router /pay_doc.py

func (*Login) UserLogin

func (c *Login) UserLogin()

@router /login.py/?:params [post]

func (*Login) VerifyCaptcha

func (c *Login) VerifyCaptcha()

验证输入的验证码 @router /verifyCaptcha.py/:value/:chaId [get]

type MultiWithdraw

type MultiWithdraw struct {
	KeepSession
}

func (*MultiWithdraw) ShowMultiWithdrawUI

func (c *MultiWithdraw) ShowMultiWithdrawUI()

@router /multi_withdraw/show_multi_ui

type TradeRecord

type TradeRecord struct {
	KeepSession
}

func (*TradeRecord) ComplaintQueryAndListPage

func (c *TradeRecord) ComplaintQueryAndListPage()

投诉列表查询分页 @router /trade/complaint/?:params [get]

func (*TradeRecord) ShowComplaintUI

func (c *TradeRecord) ShowComplaintUI()

@router /trade/show_complaint_ui

func (*TradeRecord) ShowUI

func (c *TradeRecord) ShowUI()

@router /trade/show_ui

func (*TradeRecord) TradeQueryAndListPage

func (c *TradeRecord) TradeQueryAndListPage()

订单记录查询分页 @router /trade/list/?:params [get]

type UserInfo

type UserInfo struct {
	KeepSession
}

func (*UserInfo) ConfirmOriginPwd

func (c *UserInfo) ConfirmOriginPwd()

验证原始密码 @router /user_info/confirm_pwd/?:params [post]

func (*UserInfo) ModifyUserInfo

func (c *UserInfo) ModifyUserInfo()

修改用户信息 @router /user_info/modify_userInfo/?:params [post]

func (*UserInfo) ShowModifyUserInfoUI

func (c *UserInfo) ShowModifyUserInfoUI()

@router /user_info/show_modify_ui

func (*UserInfo) ShowUserInfoUI

func (c *UserInfo) ShowUserInfoUI()

展示用户信息 @router /user_info/show_ui

type Withdraw

type Withdraw struct {
	KeepSession
}

func (*Withdraw) LaunchMultiWithdraw

func (c *Withdraw) LaunchMultiWithdraw()

申请批量提现 @router /multi_withdraw/launch_multi_withdraw/?:params [post]

func (*Withdraw) LaunchSingleWithdraw

func (c *Withdraw) LaunchSingleWithdraw()

单笔提现申请 @router /withdraw/launch_single_withdraw/?:params [post]

func (*Withdraw) SendMsgForMultiWithdraw

func (c *Withdraw) SendMsgForMultiWithdraw()

发送批量提现短信 @router /multi_withdraw/send_msg_for_multi/?:params [post]

func (*Withdraw) SendMsgForWithdraw

func (c *Withdraw) SendMsgForWithdraw()

发送提现短信 @router /withdraw/send_msg/?:params [post]

func (*Withdraw) ShowListUI

func (c *Withdraw) ShowListUI()

提现列表 @router /withdraw/show_list_ui

func (*Withdraw) ShowWithdrawUI

func (c *Withdraw) ShowWithdrawUI()

@router /withdraw/show_ui

func (*Withdraw) UserBalance

func (c *Withdraw) UserBalance()

获取账户提现余额 @router /withdraw/balance

func (*Withdraw) WithdrawQueryAndListPage

func (c *Withdraw) WithdrawQueryAndListPage()

@router /withdraw/list_record/?:params [get,post]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL