controllers

package
v0.0.0-...-e1989bb Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: GPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

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

** @Desc : This file for 对接代付
** @Time : 2019.04.22 13:38
** @Author : Joker
** @File : api_pay
** @Last Modified by : Joker
** @Last Modified time: 2019.04.22 13:38
** @Software: GoLand

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

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

** @Desc : This file for 对接充值
** @Time : 2019.04.19 10:46
** @Author : Joker
** @File : api_recharge
** @Last Modified by : Joker
** @Last Modified time: 2019.04.19 10:46
** @Software: GoLand

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

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

** @Desc : This file for 批量代付
** @Time : 2019.04.14 10:19
** @Author : Joker
** @File : bulk_pay
** @Last Modified by : Joker
** @Last Modified time: 2019.04.14 10:19
** @Software: GoLand

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

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

** @Desc : This file for 批量充值
** @Time : 2019.05.15 9:34
** @Author : Joker
** @File : bulk_recharge
** @Last Modified by : Joker
** @Last Modified time: 2019.05.15 9:34
** @Software: GoLand

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

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

** @Desc : This file for 首页跳转
** @Time : 2019/6/13 15:07
** @Author : Joker
** @File : home
** @Last Modified by : Joker
** @Last Modified time: 2019/6/13 15:07
** @Software: GoLand

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

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

** @Desc : This file for 维持session
** @Time : 2019.04.17 9:10
** @Author : Joker
** @File : keep_session
** @Last Modified by : Joker
** @Last Modified time: 2019.04.17 9:10
** @Software: GoLand

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

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

** @Desc : This file for 异步通知
** @Time : 2019.04.11 18:35
** @Author : Joker
** @File : notice
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 18:35
** @Software: GoLand

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

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

** @Desc : This file for 异步通知
** @Time : 2019.04.11 18:35
** @Author : Joker
** @File : notice
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 18:35
** @Software: GoLand

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

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

** @Desc : This file for 代付
** @Time : 2019.04.10 15:51
** @Author : Joker
** @File : pay
** @Last Modified by : Joker
** @Last Modified time: 2019.04.10 15:51
** @Software: GoLand

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

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

** @Desc : This file for 代付查询
** @Time : 2019.04.11 10:26
** @Author : Joker
** @File : pay_query
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 10:26
** @Software: GoLand

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

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

** @Desc : This file for 代付查询
** @Time : 2019.04.11 10:26
** @Author : Joker
** @File : pay_query
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 10:26
** @Software: GoLand

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

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

** @Desc : This file for 代付
** @Time : 2019.04.10 15:51
** @Author : Joker
** @File : pay
** @Last Modified by : Joker
** @Last Modified time: 2019.04.10 15:51
** @Software: GoLand

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

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

** @Desc : This file for 充值
** @Time : 2019.04.04 18:01
** @Author : Joker
** @File : recharge
** @Last Modified by : Joker
** @Last Modified time: 2019.04.04 18:01
** @Software: GoLand

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

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

** @Desc : This file for 充值查询
** @Time : 2019.04.11 9:42
** @Author : Joker
** @File : recharge_query
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 9:42
** @Software: GoLand

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

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

** @Desc : This file for 充值查询
** @Time : 2019.04.11 9:42
** @Author : Joker
** @File : recharge_query
** @Last Modified by : Joker
** @Last Modified time: 2019.04.11 9:42
** @Software: GoLand

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

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

** @Desc : This file for 充值
** @Time : 2019.04.04 18:01
** @Author : Joker
** @File : recharge
** @Last Modified by : Joker
** @Last Modified time: 2019.04.04 18:01
** @Software: GoLand

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

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

** @Desc : This file for 充值代付记录
** @Time : 2019.04.10 15:55
** @Author : Joker
** @File : record
** @Last Modified by : Joker
** @Last Modified time: 2019.04.10 15:55
** @Software: GoLand

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

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

** @Desc : This file for B2C转账,此功能不在开放,已放弃维护
** @Time : 2019.04.13 13:56
** @Author : Joker
** @File : transfer
** @Last Modified by : Joker
** @Last Modified time: 2019.04.13 13:56
** @Software: GoLand

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

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

** @Desc : This file for 自定义加减款 模型控制
** @Time : 2019.05.22 15:15
** @Author : Joker
** @File : user_custom_plus_minus
** @Last Modified by : Joker
** @Last Modified time: 2019.05.22 15:15
** @Software: GoLand

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

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

** @Desc : This file for 用户模型控制
** @Time : 2019.03.30 16:58
** @Author : Joker
** @File : user_info_act
** @Last Modified by : Joker
** @Last Modified time: 2019.03.30 16:58
** @Software: GoLand

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

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

** @Desc : This file for 用户管理
** @Time : 2019.04.03 9:52
** @Author : Joker
** @File : user_manage
** @Last Modified by : Joker
** @Last Modified time: 2019.04.03 9:52
** @Software: GoLand

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

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

** @Desc : This file for 用户对账
** @Time : 2019.04.18 10:35
** @Author : Joker
** @File : user_reconcile
** @Last Modified by : Joker
** @Last Modified time: 2019.04.18 10:35
** @Software: GoLand

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

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

** @Desc : This file for 先锋通道列表以及增删改
** @Time : 2019.04.01 15:38
** @Author : Joker
** @File : merchant
** @Last Modified by : Joker
** @Last Modified time: 2019.04.01 15:38
** @Software: GoLand

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

Index

Constants

This section is empty.

Variables

View Source
var AES = utils.AES{}
View Source
var PMinusMdl = models.CustomPlusMinus{}

Functions

This section is empty.

Types

type ApiPay

type ApiPay struct {
	beego.Controller
}

func (*ApiPay) ApiRecharge

func (the *ApiPay) ApiRecharge()

对接代付 @router /api/pay/?:params [post]

func (*ApiPay) ApiRechargePay

func (the *ApiPay) ApiRechargePay()

对接代付查询 @router /api/query_pay/?:params [post]

func (*ApiPay) ApiRechargePayBalance

func (the *ApiPay) ApiRechargePayBalance()

对接代付余额查询 @router /api/query_pay_balance/?:params [post]

type ApiRecharge

type ApiRecharge struct {
	beego.Controller
}

func (*ApiRecharge) ApiRecharge

func (the *ApiRecharge) ApiRecharge()

对接充值 @router /api/recharge/?:params [post]

func (*ApiRecharge) ApiRechargeQuery

func (the *ApiRecharge) ApiRechargeQuery()

对接充值查询 @router /api/query_recharge/?:params [post]

type AsyNotice

type AsyNotice struct {
	KeepSession
}

func (*AsyNotice) B2CTransferNotice

func (the *AsyNotice) B2CTransferNotice()

b2c转账异步通知 @router /notice/b2c_transfer_notice/?:params [get,post]

func (*AsyNotice) XFPayNotice

func (the *AsyNotice) XFPayNotice()

先锋代付异步通知 @router /notice/xf_pay_notice/?:params [get,post]

func (*AsyNotice) XFRechargeNotice

func (the *AsyNotice) XFRechargeNotice()

先锋充值异步通知 @router /notice/xf_recharge_notice/?:params [get,post]

type AsyNoticeV2

type AsyNoticeV2 struct {
	KeepSession
}

func (*AsyNoticeV2) B2CTransferNotice

func (the *AsyNoticeV2) B2CTransferNotice()

b2c转账异步通知 @router /notice_v2/b2c_transfer_notice/?:params [get,post]

func (*AsyNoticeV2) XFPayNotice

func (the *AsyNoticeV2) XFPayNotice()

先锋代付异步通知 @router /notice_v2/xf_pay_notice/?:params [get,post]

func (*AsyNoticeV2) XFRechargeNotice

func (the *AsyNoticeV2) XFRechargeNotice()

先锋充值异步通知 @router /notice_v2/xf_recharge_notice/?:params [get,post]

type BulkPay

type BulkPay struct {
	KeepSession
}

func (*BulkPay) DoBulkPay

func (the *BulkPay) DoBulkPay()

批量代付 @router /merchant/do_bulk_pay/?:params [post]

func (*BulkPay) SendMsgDoBulkPay

func (the *BulkPay) SendMsgDoBulkPay()

代付发送短信验证码 @router /merchant/do_bulk_pay_sms/?:params [post]

func (*BulkPay) ShowBulkPayUI

func (the *BulkPay) ShowBulkPayUI()

展示批量代付页面 @router /merchant/show_bulk_pay_ui/ [get,post]

type BulkRecharge

type BulkRecharge struct {
	KeepSession
}

func (*BulkRecharge) DoBulkRecharge

func (the *BulkRecharge) DoBulkRecharge()

批量充值 @router /merchant/do_bulk_recharge/?:params [post]

func (*BulkRecharge) ShowBulkRechargeUI

func (the *BulkRecharge) ShowBulkRechargeUI()

展示批量充值页面 @router /merchant/show_bulk_recharge_ui/ [get,post]

type HomeAct

type HomeAct struct {
	beego.Controller
}

func (*HomeAct) ShowDocument

func (the *HomeAct) ShowDocument()

开发文档页面 @router /document [get,post]

func (*HomeAct) ShowHome

func (the *HomeAct) ShowHome()

加载首页面 @router / [get,post]

type KeepSession

type KeepSession struct {
	beego.Controller
}

func (*KeepSession) Prepare

func (the *KeepSession) Prepare()

若用户在30分钟内没有操作行为,则删除session信息

type Pay

type Pay struct {
	KeepSession
}

func (*Pay) DoRecharge

func (the *Pay) DoRecharge()

商户代付 @router /merchant/do_pay/?:params [post]

func (*Pay) HandPayRecord

func (the *Pay) HandPayRecord()

代付手动关单 @router /user/hand_pay_record/?:params [post]

func (*Pay) PayNotice

func (the *Pay) PayNotice()

代付手动回调 @router /merchant/pay_notice/?:params [get]

func (*Pay) SendMsgDoPay

func (the *Pay) SendMsgDoPay()

代付发送短信验证码 @router /merchant/do_pay_sms/?:params [post]

func (*Pay) ShowHandPayRecordUI

func (the *Pay) ShowHandPayRecordUI()

展示手动关单 @router /user/hand_pay_record_ui/?:params [get]

func (*Pay) ShowPay

func (the *Pay) ShowPay()

展示代付页面 @router /merchant/show_pay/ [get,post]

type PayQuery

type PayQuery struct {
	KeepSession
}

func (*PayQuery) PayQuery

func (the *PayQuery) PayQuery()

多通道代付查询 @router /merchant/pay_query/?:params [get]

type PayQueryV2

type PayQueryV2 struct {
	KeepSession
}

func (*PayQueryV2) PayQuery

func (the *PayQueryV2) PayQuery()

多通道代付查询 @router /merchant/pay_query_v2/?:params [get]

type PayV2

type PayV2 struct {
	KeepSession
}

func (*PayV2) DoRecharge

func (the *PayV2) DoRecharge()

商户代付 @router /merchant/do_pay_v2/?:params [post]

type Recharge

type Recharge struct {
	KeepSession
}

func (*Recharge) DoRecharge

func (the *Recharge) DoRecharge()

商户充值 @router /merchant/do_recharge/?:params [post]

func (*Recharge) QueryAllMerchantByType

func (the *Recharge) QueryAllMerchantByType()

选择单个通道下所有商户 @router /merchant/merchant_type/?:params [get]

func (*Recharge) RechargeNotice

func (the *Recharge) RechargeNotice()

充值手动回调 @router /merchant/recharge_notice/?:params [get]

func (*Recharge) ShowRecharge

func (the *Recharge) ShowRecharge()

展示充值页面 @router /merchant/show_recharge/ [get,post]

type RechargeQuery

type RechargeQuery struct {
	KeepSession
}

func (*RechargeQuery) RechargeQuery

func (the *RechargeQuery) RechargeQuery()

充值单笔查询 @router /merchant/recharge_query/?:params [get]

type RechargeQueryV2

type RechargeQueryV2 struct {
	KeepSession
}

func (*RechargeQueryV2) RechargeQuery

func (the *RechargeQueryV2) RechargeQuery()

充值单笔查询 @router /merchant/recharge_query_v2/?:params [get]

type RechargeV2

type RechargeV2 struct {
	KeepSession
}

func (*RechargeV2) DoRechargeV2

func (the *RechargeV2) DoRechargeV2()

商户充值 @router /merchant/do_recharge_v2/?:params [post]

type Record

type Record struct {
	KeepSession
}

func (*Record) DownloadRecordExcel

func (the *Record) DownloadRecordExcel()

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

func (*Record) ListPayUI

func (the *Record) ListPayUI()

代付记录展示界面 @router /merchant/list_pay_ui/ [get]

func (*Record) ListRechargeUI

func (the *Record) ListRechargeUI()

充值记录展示界面 @router /merchant/list_recharge/ [get]

func (*Record) ListTransferUI

func (the *Record) ListTransferUI()

转账记录展示界面 @router /transfer/show_transfer_record/ [get]

func (*Record) MakeExcelForRecord

func (the *Record) MakeExcelForRecord()

记录导出为Excel @router /merchant/make_excel/?:params [get]

func (*Record) PayQueryAndListPage

func (the *Record) PayQueryAndListPage()

代付记录查询分页 @router /merchant/list_pay/?:params [get]

func (*Record) QueryAndListPage

func (the *Record) QueryAndListPage()

充值记录查询分页 @router /merchant/list_recharge_record/?:params [get]

func (*Record) ShowUserTodayAmount

func (the *Record) ShowUserTodayAmount()

根据时间统计充值、代付金额 @router /merchant/count_all_recharge_pay/?:params [get,post]

func (*Record) TransferQueryAndListPage

func (the *Record) TransferQueryAndListPage()

转账记录查询分页 @router /transfer/list_transfer/?:params [get]

type Transfer

type Transfer struct {
	KeepSession
}

func (*Transfer) DoTransfer

func (the *Transfer) DoTransfer()

商户B2C转账 @router /transfer/do_transfer/?:params [post]

func (*Transfer) ShowPay

func (the *Transfer) ShowPay()

展示B2C转账页面 @router /transfer/show_transfer/ [get,post]

func (*Transfer) TransferQuery

func (the *Transfer) TransferQuery()

b2c转账查询 @router /transfer/transfer_query/?:params [get]

type UCustomPlusMinus

type UCustomPlusMinus struct {
	KeepSession
}

func (*UCustomPlusMinus) ListPlusMinusUI

func (the *UCustomPlusMinus) ListPlusMinusUI()

加减款明细展示界面 @router /merchant/list_pMinus/ [get]

func (*UCustomPlusMinus) QueryAndListPage

func (the *UCustomPlusMinus) QueryAndListPage()

加减款明细查询分页 @router /merchant/list_plus_minus/?:params [get]

type UserLogin

type UserLogin struct {
	KeepSession
}

func (*UserLogin) FlushCaptcha

func (the *UserLogin) FlushCaptcha()

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

func (*UserLogin) IsRightUser

func (the *UserLogin) IsRightUser()

用户检查 @router /IsRight

func (*UserLogin) LoginOut

func (the *UserLogin) LoginOut()

退出登录 @router /loginOut.py

func (*UserLogin) ShowLoginUI

func (the *UserLogin) ShowLoginUI()

加载登录页面 @router /login [get,post]

func (*UserLogin) SmsPhoneCode

func (the *UserLogin) SmsPhoneCode()

登录发送短信验证码 @router /sms.do/?:params [post]

func (*UserLogin) UserLogin

func (the *UserLogin) UserLogin()

用户登录 @router /login.py/?:params [post]

func (*UserLogin) VerifyCaptcha

func (the *UserLogin) VerifyCaptcha()

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

type UserManage

type UserManage struct {
	KeepSession
}

func (*UserManage) ActiveUser

func (the *UserManage) ActiveUser()

激活用户 @router /user/active/?:params [get]

func (*UserManage) AddUser

func (the *UserManage) AddUser()

添加用户 @router /user/add_user/?:params [post]

func (*UserManage) AdditionUser

func (the *UserManage) AdditionUser()

给用户加款 @router /user/addition_user/?:params [post]

func (*UserManage) DeductionUser

func (the *UserManage) DeductionUser()

给用户减款 @router /user/deduction_user/?:params [post]

func (*UserManage) EditUser

func (the *UserManage) EditUser()

编辑用户 @router /user/edit_user/?:params [post]

func (*UserManage) FreezeUser

func (the *UserManage) FreezeUser()

冻结用户 @router /user/freeze/?:params [get]

func (*UserManage) QueryAndListPage

func (the *UserManage) QueryAndListPage()

用户列表查询分页 @router /user/list/?:params [get]

func (*UserManage) ResetUser

func (the *UserManage) ResetUser()

重置密码 @router /user/reset/?:params [get]

func (*UserManage) ShowAdditionUserUI

func (the *UserManage) ShowAdditionUserUI()

展示加款页面 @router /user/addition_user_ui/?:params [get]

func (*UserManage) ShowDeductionUserUI

func (the *UserManage) ShowDeductionUserUI()

展示减款页面 @router /user/deduction_user_ui/?:params [get]

func (*UserManage) ShowEditUserUI

func (the *UserManage) ShowEditUserUI()

展示编辑页面 @router /user/edit_user_ui/?:params [get]

func (*UserManage) ShowLookUserUI

func (the *UserManage) ShowLookUserUI()

展示查看页面 @router /user/look_user_ui/?:params [get]

func (*UserManage) ShowUserManageUI

func (the *UserManage) ShowUserManageUI()

展示修改用户管理界面 @router /user/user_manage_ui/ [get]

type UserReconcile

type UserReconcile struct {
	KeepSession
}

func (*UserReconcile) QueryAndListPage

func (the *UserReconcile) QueryAndListPage()

对账列表查询分页 @router /user/reconcile_list/?:params [get]

func (*UserReconcile) ShowUserReconcileUI

func (the *UserReconcile) ShowUserReconcileUI()

展示对账界面 @router /user/reconcile_ui/ [get]

type XFMerchant

type XFMerchant struct {
	KeepSession
}

func (*XFMerchant) AddXFMerchant

func (the *XFMerchant) AddXFMerchant()

添加先锋通道 @router /merchant/add_xf/?:params [post]

func (*XFMerchant) EditUserInfo

func (the *XFMerchant) EditUserInfo()

修改个人信息 @router /merchant/edit_userInfo/?:params [post]

func (*XFMerchant) EditXFMerchant

func (the *XFMerchant) EditXFMerchant()

编辑先锋通道 @router /merchant/edit_xf/?:params [post]

func (*XFMerchant) ListMerchant

func (the *XFMerchant) ListMerchant()

先锋道通列表展示 @router /merchant/list_UI/ [get]

func (*XFMerchant) QueryAndListPage

func (the *XFMerchant) QueryAndListPage()

通道列表查询分页 @router /merchant/list_xf/?:params [get]

func (*XFMerchant) RemoveXFMerchant

func (the *XFMerchant) RemoveXFMerchant()

删除商户 @router /merchant/del_xf/?:params [get]

func (*XFMerchant) SendMsgEditUserInfo

func (the *XFMerchant) SendMsgEditUserInfo()

修改个人信息发送短信验证码 @router /merchant/edit_userInfo_sms/?:params [post]

func (*XFMerchant) ShowEditUserInfoUI

func (the *XFMerchant) ShowEditUserInfoUI()

展示修改个人信息界面 @router /merchant/edit_userInfo_ui/ [get]

func (*XFMerchant) ShowEditXFUI

func (the *XFMerchant) ShowEditXFUI()

展示编辑页面 @router /merchant/edit_xf_ui/?:params [get]

func (*XFMerchant) ShowIndex

func (the *XFMerchant) ShowIndex()

展示首页 @router /merchant/ [get,post]

func (*XFMerchant) XFQueryBalance

func (the *XFMerchant) XFQueryBalance()

更新道通金额 @router /merchant/query_xf_balance/?:params [get]

Directories

Path Synopsis
**************************************************
**************************************************
**************************************************
**************************************************

Jump to

Keyboard shortcuts

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