controllers

package
v0.0.0-...-6dbb2d7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright 2018. box.la authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. box.la authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. box.la authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. box.la authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2018. box.la authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const BUSINESS_ERROR_CODE = 3000
View Source
const CAPITAL_ERROR_CODE = 2000
View Source
const ERROR_CODE = 1000
View Source
const JWT_PRIVATE_KEY = "BOX.LA"

Variables

This section is empty.

Functions

func AddBranch

func AddBranch(ctx *gin.Context)

新增部门

func AddCurrency

func AddCurrency(ctx *gin.Context)

添加代币

func AdminApprovalRegistration

func AdminApprovalRegistration(ctx *gin.Context)

代理服务器上报私钥APP审批注册结果

func ApplyForAccount

func ApplyForAccount(ctx *gin.Context)

申请注册账号

func ApplyTransfer

func ApplyTransfer(ctx *gin.Context)

提交转账申请

func ApprovalRegistration

func ApprovalRegistration(ctx *gin.Context)

上级管理员审批下级员工的注册申请

func ApprovalTransfer

func ApprovalTransfer(ctx *gin.Context)

func AssetForAgent

func AssetForAgent(ctx *gin.Context)

代理服务器获取账户余额

func BranchList

func BranchList(ctx *gin.Context)

获取部门列表

func CancelApprovalRegistration

func CancelApprovalRegistration(ctx *gin.Context)

员工APP反馈上级审批结果出错

func CancelTransferApply

func CancelTransferApply(ctx *gin.Context)

撤销转账申请

func ChangeEmployeeAccount

func ChangeEmployeeAccount(ctx *gin.Context)

删除或替换员工账号

func ChangePassword

func ChangePassword(ctx *gin.Context)

修改密码

func DepositSuccess

func DepositSuccess(ctx *gin.Context)

代理服务器上报充值记录

func DisuseBusinessFlow

func DisuseBusinessFlow(ctx *gin.Context)

作废审批流

func FlowOperationHistory

func FlowOperationHistory(ctx *gin.Context)

审批流操作日志

func GenFlow

func GenFlow(ctx *gin.Context)

func GetAccountDetail

func GetAccountDetail(ctx *gin.Context)

获取账号详情

func GetBalanceList

func GetBalanceList(ctx *gin.Context)

获取资产信息

func GetBranchInfo

func GetBranchInfo(ctx *gin.Context)

获取部门详情

func GetCurrencyList

func GetCurrencyList(ctx *gin.Context)

获取币种列表

func GetEmployeeAccountsInfo

func GetEmployeeAccountsInfo(ctx *gin.Context)

获取下属账号详情

func GetEmployeeAccountsList

func GetEmployeeAccountsList(ctx *gin.Context)

获取下属员工账号列表

func GetEmployeePubKeyInfo

func GetEmployeePubKeyInfo(ctx *gin.Context)

获取指定下属的公钥信息

func GetEmployeePubKeyInfoList

func GetEmployeePubKeyInfoList(ctx *gin.Context)

func GetFlowInfo

func GetFlowInfo(ctx *gin.Context)

func GetFlowList

func GetFlowList(ctx *gin.Context)

func GetTradeHistoryList

func GetTradeHistoryList(ctx *gin.Context)

func GetTransInfoByOrderNumber

func GetTransInfoByOrderNumber(ctx *gin.Context)

根据订单号获取指定转账记录

func GetTransferRecordsList

func GetTransferRecordsList(ctx *gin.Context)

获取转账列表

func Login

func Login(ctx *gin.Context)

登录

func ModifyBranch

func ModifyBranch(ctx *gin.Context)

删除或修改部门

func RegistrationApprovalInfo

func RegistrationApprovalInfo(ctx *gin.Context)

下属获取注册申请审批结果

func RegistrationInfo

func RegistrationInfo(ctx *gin.Context)

获取指定上司所涉及的注册申请

func SelectBranch

func SelectBranch(ctx *gin.Context)

选择部门

func TradeHistoryForAgent

func TradeHistoryForAgent(ctx *gin.Context)

代理服务器获取交易流水

func TxOperationHistory

func TxOperationHistory(ctx *gin.Context)

审批转账操作日志

func WithdrawResult

func WithdrawResult(ctx *gin.Context)

代理服务器通知最终提现信息

func WithdrawResultOfID

func WithdrawResultOfID(ctx *gin.Context)

代理服务器通知临时提现结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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