Documentation ¶
Overview ¶
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/16 11:11 ** @Author : yuebin ** @File : account ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/16 11:11 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/19 14:56 ** @Author : yuebin ** @File : account_history_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/19 14:56 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/9/19 14:41 ** @Author : yuebin ** @File : agent_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/19 14:41 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/12/17 17:50 ** @Author : yuebin ** @File : agent_profit ** @Last Modified by : yuebin ** @Last Modified time: 2019/12/17 17:50 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/9/6 10:19 ** @Author : yuebin ** @File : bank_card_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/6 10:19 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/9 13:48 ** @Author : yuebin ** @File : init ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/9 13:48 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/21 9:33 ** @Author : yuebin ** @File : menu_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/21 9:33 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/7 11:52 ** @Author : yuebin ** @File : merchant_deploy_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/7 11:52 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/9/28 16:47 ** @Author : yuebin ** @File : merchant_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/28 16:47 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/11/22 13:07 ** @Author : yuebin ** @File : merchant_load_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/11/22 13:07 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/11/20 13:13 ** @Author : yuebin ** @File : notify_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/11/20 13:13 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/28 10:15 ** @Author : yuebin ** @File : order_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/28 10:15 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/30 11:44 ** @Author : yuebin ** @File : order_profit_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/30 11:44 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/30 11:41 ** @Author : yuebin ** @File : order_settle_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/30 11:41 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/11/25 14:32 ** @Author : yuebin ** @File : payfor_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/11/25 14:32 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/12/17 17:50 ** @Author : yuebin ** @File : platform_profit ** @Last Modified by : yuebin ** @Last Modified time: 2019/12/17 17:50 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/28 17:59 ** @Author : yuebin ** @File : power_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/28 17:59 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/9/8 12:09 ** @Author : yuebin ** @File : road_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/8 12:09 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/9/9 16:35 ** @Author : yuebin ** @File : road_pool_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/9/9 16:35 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/29 14:43 ** @Author : yuebin ** @File : role_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/29 14:43 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/26 9:33 ** @Author : yuebin ** @File : second_menu_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/26 9:33 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/10/19 14:17 ** @Author : yuebin ** @File : transaction ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/19 14:17 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/8/9 14:02 ** @Author : yuebin ** @File : user_info ** @Last Modified by : yuebin ** @Last Modified time: 2019/8/9 14:02 ** @Software: GoLand
***************************************************
Index ¶
- Constants
- func BankOrderIdIsEixst(bankOrderId string) bool
- func DeleteAccountByUid(accountUid string) bool
- func DeleteAgentByAgentUid(agentUid string) bool
- func DeleteBankCardByUid(uid string) bool
- func DeleteMenuInfo(menuUid string)
- func DeleteMerchantByUid(merchantUid string) bool
- func DeleteMerchantDeployByUidAndPayType(uid, payType string) bool
- func DeletePowerBySecondUid(secondUid string) bool
- func DeletePowerItemByPowerID(powerID string) bool
- func DeleteRoadByRoadUid(roadUid string) bool
- func DeleteRoadPoolByCode(roadPoolCode string) bool
- func DeleteRoleByRoleUid(roleUid string) bool
- func DeleteSecondMenuByFirstMenuUid(firstMenuUid string) bool
- func DeleteSecondMenuBySecondMenuUid(secondMenuUid string) bool
- func DeleteUserByUserId(userId string) bool
- func FirstMenuIsExists(firstMenu string) bool
- func FirstMenuUidIsExists(firstMenUid string) bool
- func ForUpdatePayFor(payFor PayforInfo) bool
- func GetAccountHistoryLenByMap(params map[string]string) int
- func GetAccountLenByMap(params map[string]string) int
- func GetAgentInfoLenByMap(params map[string]string) int
- func GetAllAmountByMap(params map[string]string) float64
- func GetBankCardLenByMap(params map[string]string) int
- func GetMenuLen() int
- func GetMenuLenByMap(params map[string]string) int
- func GetMerchantDeployLenByMap(params map[string]string) int
- func GetMerchantLenByMap(params map[string]string) int
- func GetMerchantLenByParams(params map[string]string) int
- func GetNotifyBankOrderIdListByParams(params map[string]string) []string
- func GetOperatorLenByMap(params map[string]string) int
- func GetOrderLenByMap(params map[string]string) int
- func GetOrderProfitLenByMap(params map[string]string) int
- func GetPayForLenByMap(params map[string]string) int
- func GetPowerItemLenByMap(params map[string]string) int
- func GetRoadLenByMap(params map[string]string) int
- func GetRoadPoolLenByMap(params map[string]string) int
- func GetRoleLenByMap(params map[string]string) int
- func GetSecondMenuLen() int
- func GetSecondMenuLenByFirstMenuUid(firstMenuUid string) int
- func GetSecondMenuLenByMap(params map[string]string) int
- func GetSuccessRateByMap(params map[string]string) string
- func Init()
- func InsertAccountHistory(accountHistory AccountHistoryInfo) bool
- func InsertAgentInfo(agentInfo AgentInfo) bool
- func InsertBankCardInfo(bankCardInfo BankCardInfo) bool
- func InsertMenu(menuInfo MenuInfo) bool
- func InsertMerchantDeployInfo(merchantDeployInfo MerchantDeployInfo) bool
- func InsertMerchantInfo(merchantInfo MerchantInfo) bool
- func InsertNotifyInfo(notifyInfo NotifyInfo) bool
- func InsertOrder(orderInfo OrderInfo) bool
- func InsertPayfor(payFor PayforInfo) bool
- func InsertPowerInfo(powerInfo PowerInfo) bool
- func InsertRoadInfo(roadInfo RoadInfo) bool
- func InsertRoadPool(roadPool RoadPoolInfo) bool
- func InsertRole(roleInfo RoleInfo) bool
- func InsertSecondMenu(secondMenuInfo SecondMenuInfo) bool
- func InsertUser(userInfo UserInfo) bool
- func InsetAcount(account AccountInfo) bool
- func IsEixstByAgentName(agentName string) bool
- func IsEixstByAgentPhone(agentPhone string) bool
- func IsExistByAgentUid(uid string) bool
- func IsExistByMerchantName(merchantName string) bool
- func IsExistByMerchantPhone(phone string) bool
- func IsExistByMerchantUid(uid string) bool
- func IsExistByUidAndPayType(uid, payType string) bool
- func IsExistMerchantByAgentUid(uid string) bool
- func IsExistMerchantLoadByParams(params map[string]string) bool
- func IsExistPayForByBankOrderId(bankOrderId string) bool
- func IsExistPayForByMerchantOrderId(merchantOrderId string) bool
- func MenuOrderIsExists(menuOrder int) bool
- func NickIsExist(nick string) bool
- func NotifyInfoExistByBankOrderId(bankOrderId string) bool
- func OperatorAccount(accountUid, operatorType string, amount float64) (string, bool)
- func OrderNoIsEixst(orderId string) bool
- func PowerUidExists(powerUid string) bool
- func RoadInfoExistByRoadUid(roadUid string) bool
- func RoleNameExists(roleName string) bool
- func SecondMenuExistByMenuOrder(menuOrder int) bool
- func SecondMenuIsExists(seconfMenu string) bool
- func SecondMenuUidIsExists(secondMenuUid string) bool
- func SecondRouterExists(secondRouter string) bool
- func UpdateAccount(account AccountInfo) bool
- func UpdateAgentInfo(agentInfo AgentInfo) bool
- func UpdateBankCard(bankCard BankCardInfo) bool
- func UpdateMenuInfo(menuInfo MenuInfo)
- func UpdateMerchant(merchantInfo MerchantInfo) bool
- func UpdateMerchantDeploy(merchantDeploy MerchantDeployInfo) bool
- func UpdateNotifyInfo(notifyInfo NotifyInfo) bool
- func UpdatePayFor(payFor PayforInfo) bool
- func UpdateRoadInfo(roadInfo RoadInfo) bool
- func UpdateRoadPool(roadPool RoadPoolInfo) bool
- func UpdateRoleInfo(roleInfo RoleInfo) bool
- func UpdateSecondMenu(secondMenu SecondMenuInfo)
- func UpdateSecondMenuOrderBySecondUid(secondUid string, order int)
- func UpdateStauts(status, userId string) bool
- func UpdateUserInfo(userInfo UserInfo)
- func UpdateUserInfoIP(userInfo UserInfo)
- func UpdateUserInfoPassword(userInfo UserInfo)
- func UserInfoExistByUserId(userId string) bool
- type AccountHistoryInfo
- type AccountInfo
- type AgentInfo
- type AgentProfit
- type BankCardInfo
- type MenuInfo
- func GetMenuAll() []MenuInfo
- func GetMenuInfoByMenuOrder(menuOrder int) MenuInfo
- func GetMenuInfoByMenuUid(menuUid string) MenuInfo
- func GetMenuInfosByMenuUids(menuUids []string) []MenuInfo
- func GetMenuOffset(displayCount, offset int) []MenuInfo
- func GetMenuOffsetByMap(params map[string]string, displayCount, offset int) []MenuInfo
- type MenuInfoSlice
- type MerchantDeployInfo
- func GetMerchantDeployByHour(hour int) []MerchantDeployInfo
- func GetMerchantDeployByUid(uid string) (ms []MerchantDeployInfo)
- func GetMerchantDeployByUidAndPayType(uid, payType string) MerchantDeployInfo
- func GetMerchantDeployListByMap(params map[string]string, displayCount, offset int) (md []MerchantDeployInfo)
- type MerchantInfo
- func GetAllMerchant() []MerchantInfo
- func GetMerchantByParams(params map[string]string, displayCount, offset int) []MerchantInfo
- func GetMerchantByPaykey(payKey string) MerchantInfo
- func GetMerchantByPhone(phone string) (m MerchantInfo)
- func GetMerchantByUid(merchantUid string) MerchantInfo
- func GetMerchantListByMap(params map[string]string, displayCount, offset int) []MerchantInfo
- type MerchantLoadInfo
- type NotifyInfo
- type OrderInfo
- type OrderProfitInfo
- type OrderSettleInfo
- type PayforInfo
- type PlatformProfit
- type PowerInfo
- type PowerInfoSlice
- type RoadInfo
- type RoadPoolInfo
- type RoleInfo
- type SecondMenuInfo
- func GetSecondMenuByMap(params map[string]string, displayCount, offset int) []SecondMenuInfo
- func GetSecondMenuInfoByMenuOrder(menuOrder int, firstMenuUid string) SecondMenuInfo
- func GetSecondMenuInfoBySecondMenuUid(secondMenuUid string) SecondMenuInfo
- func GetSecondMenuInfoBySecondMenuUids(secondMenuUids []string) []SecondMenuInfo
- func GetSecondMenuList() []SecondMenuInfo
- func GetSecondMenuListByFirstMenuUid(firstMenuUid string) []SecondMenuInfo
- type SecondMenuSlice
- type UserInfo
Constants ¶
const ACCOUNT_HISTORY_INFO = "account_history_info"
const ACCOUNT_INFO = "account_info"
const AGENT_INFO = "agent_info"
const BANK_CARD_INFO = "bank_card_info"
const MENUINFO = "menu_info"
const MERCHANT_DEPLOY_INFO = "merchant_deploy_info"
const MERCHANT_INFO = "merchant_info"
const MERCHANT_LOAD_INFO = "merchant_load_info"
const NOTIFYINFO = "notify_info"
const ORDER_INFO = "order_info"
const ORDER_PROFIT_INFO = "order_profit_info"
const ORDER_SETTLE_INFO = "order_settle_info"
const PAYFORINFO = "payfor_info"
const POWER_INFO = "power_info"
const ROAD_INFO = "road_info"
const ROAD_POOL_INFO = "road_pool_info"
const ROLE_INFO = "role_info"
const SECOND_MENU_INFO = "second_menu_info"
const (
USERINFO = "user_info"
)
Variables ¶
This section is empty.
Functions ¶
func BankOrderIdIsEixst ¶
func DeleteAccountByUid ¶
func DeleteAgentByAgentUid ¶
func DeleteBankCardByUid ¶
func DeleteMenuInfo ¶
func DeleteMenuInfo(menuUid string)
func DeleteMerchantByUid ¶
func DeletePowerBySecondUid ¶
func DeleteRoadByRoadUid ¶
func DeleteRoadPoolByCode ¶
func DeleteRoleByRoleUid ¶
func DeleteUserByUserId ¶
func FirstMenuIsExists ¶
func FirstMenuUidIsExists ¶
func ForUpdatePayFor ¶
func ForUpdatePayFor(payFor PayforInfo) bool
func GetAccountLenByMap ¶
func GetAgentInfoLenByMap ¶
func GetAllAmountByMap ¶
func GetBankCardLenByMap ¶
func GetMenuLen ¶
func GetMenuLen() int
func GetMenuLenByMap ¶
func GetMerchantLenByMap ¶
func GetMerchantLenByParams ¶
func GetOperatorLenByMap ¶
func GetOrderLenByMap ¶
func GetOrderProfitLenByMap ¶
func GetPayForLenByMap ¶
func GetPowerItemLenByMap ¶
func GetRoadLenByMap ¶
func GetRoadPoolLenByMap ¶
func GetRoleLenByMap ¶
func GetSecondMenuLen ¶
func GetSecondMenuLen() int
func GetSecondMenuLenByMap ¶
func GetSuccessRateByMap ¶
func InsertAccountHistory ¶
func InsertAccountHistory(accountHistory AccountHistoryInfo) bool
func InsertAgentInfo ¶
func InsertBankCardInfo ¶
func InsertBankCardInfo(bankCardInfo BankCardInfo) bool
func InsertMenu ¶
func InsertMerchantDeployInfo ¶
func InsertMerchantDeployInfo(merchantDeployInfo MerchantDeployInfo) bool
func InsertMerchantInfo ¶
func InsertMerchantInfo(merchantInfo MerchantInfo) bool
func InsertNotifyInfo ¶
func InsertNotifyInfo(notifyInfo NotifyInfo) bool
func InsertOrder ¶
func InsertPayfor ¶
func InsertPayfor(payFor PayforInfo) bool
func InsertPowerInfo ¶
func InsertRoadInfo ¶
func InsertRoadPool ¶
func InsertRoadPool(roadPool RoadPoolInfo) bool
func InsertRole ¶
func InsertSecondMenu ¶
func InsertSecondMenu(secondMenuInfo SecondMenuInfo) bool
func InsertUser ¶
func InsetAcount ¶
func InsetAcount(account AccountInfo) bool
func IsEixstByAgentName ¶
func IsEixstByAgentPhone ¶
func IsExistByAgentUid ¶
func IsExistByMerchantName ¶
func IsExistByMerchantPhone ¶
func IsExistByMerchantUid ¶
func IsExistByUidAndPayType ¶
func MenuOrderIsExists ¶
func NickIsExist ¶
func OperatorAccount ¶
func OrderNoIsEixst ¶
func PowerUidExists ¶
func RoadInfoExistByRoadUid ¶
func RoleNameExists ¶
func SecondMenuIsExists ¶
func SecondMenuUidIsExists ¶
func SecondRouterExists ¶
func UpdateAccount ¶
func UpdateAccount(account AccountInfo) bool
func UpdateAgentInfo ¶
func UpdateBankCard ¶
func UpdateBankCard(bankCard BankCardInfo) bool
func UpdateMenuInfo ¶
func UpdateMenuInfo(menuInfo MenuInfo)
func UpdateMerchant ¶
func UpdateMerchant(merchantInfo MerchantInfo) bool
func UpdateMerchantDeploy ¶
func UpdateMerchantDeploy(merchantDeploy MerchantDeployInfo) bool
func UpdateNotifyInfo ¶
func UpdateNotifyInfo(notifyInfo NotifyInfo) bool
func UpdatePayFor ¶
func UpdatePayFor(payFor PayforInfo) bool
func UpdateRoadInfo ¶
func UpdateRoadPool ¶
func UpdateRoadPool(roadPool RoadPoolInfo) bool
func UpdateRoleInfo ¶
func UpdateSecondMenu ¶
func UpdateSecondMenu(secondMenu SecondMenuInfo)
func UpdateStauts ¶
func UpdateUserInfo ¶
func UpdateUserInfo(userInfo UserInfo)
func UpdateUserInfoIP ¶
func UpdateUserInfoIP(userInfo UserInfo)
func UpdateUserInfoPassword ¶
func UpdateUserInfoPassword(userInfo UserInfo)
func UserInfoExistByUserId ¶
Types ¶
type AccountHistoryInfo ¶
type AccountHistoryInfo struct { Id int AccountUid string AccountName string Type string Amount float64 Balance float64 UpdateTime string CreateTime string }
func GetAccountHistoryByMap ¶
func GetAccountHistoryByMap(params map[string]string, displayCount, offset int) []AccountHistoryInfo
type AccountInfo ¶
type AccountInfo struct { Id int Status string AccountUid string AccountName string Balance float64 //账户总余额 SettleAmount float64 //已经结算的金额 LoanAmount float64 //账户押款金额 FreezeAmount float64 //账户冻结金额 WaitAmount float64 //待结算资金 PayforAmount float64 //代付在途金额 //AbleBalance float64 //账户可用金额 UpdateTime string CreateTime string }
func GetAccountByMap ¶
func GetAccountByMap(params map[string]string, displayCount, offset int) []AccountInfo
func GetAccountByUid ¶
func GetAccountByUid(accountUid string) AccountInfo
func GetAllAccount ¶
func GetAllAccount() []AccountInfo
type AgentInfo ¶
type AgentInfo struct { Id int Status string AgentName string AgentPassword string PayPassword string AgentRemark string AgentUid string AgentPhone string UpdateTime string CreateTime string }
func GetAgentInfoByAgentUid ¶
func GetAgentInfoByMap ¶
func GetAgentInfoByPhone ¶
func GetAllAgentByMap ¶
type AgentProfit ¶
type AgentProfit struct { }
type BankCardInfo ¶
type BankCardInfo struct { Id int Uid string UserName string BankName string BankCode string BankAccountType string AccountName string BankNo string IdentifyCard string CertificateNo string PhoneNo string BankAddress string UpdateTime string CreateTime string }
func GetBankCardByMap ¶
func GetBankCardByMap(params map[string]string, displayCount, offset int) []BankCardInfo
func GetBankCardByUid ¶
func GetBankCardByUid(uid string) BankCardInfo
type MenuInfo ¶
type MenuInfo struct { Id int MenuOrder int MenuUid string FirstMenu string SecondMenu string Creater string Status string CreateTime string UpdateTime string }
func GetMenuAll ¶
func GetMenuAll() []MenuInfo
func GetMenuInfoByMenuOrder ¶
func GetMenuInfoByMenuUid ¶
func GetMenuInfosByMenuUids ¶
func GetMenuOffset ¶
type MenuInfoSlice ¶
type MenuInfoSlice []MenuInfo
实现排序的三个接口函数
func (MenuInfoSlice) Len ¶
func (m MenuInfoSlice) Len() int
func (MenuInfoSlice) Less ¶
func (m MenuInfoSlice) Less(i, j int) bool
func (MenuInfoSlice) Swap ¶
func (m MenuInfoSlice) Swap(i, j int)
type MerchantDeployInfo ¶
type MerchantDeployInfo struct { Id int Status string MerchantUid string PayType string SingleRoadUid string SingleRoadName string SingleRoadPlatformRate float64 SingleRoadAgentRate float64 RollRoadCode string RollRoadName string RollRoadPlatformRate float64 RollRoadAgentRate float64 IsLoan string LoanRate float64 LoanDays int UnfreezeHour int WaitUnfreezeAmount float64 LoanAmount float64 UpdateTime string CreateTime string }
func GetMerchantDeployByHour ¶
func GetMerchantDeployByHour(hour int) []MerchantDeployInfo
func GetMerchantDeployByUid ¶
func GetMerchantDeployByUid(uid string) (ms []MerchantDeployInfo)
func GetMerchantDeployByUidAndPayType ¶
func GetMerchantDeployByUidAndPayType(uid, payType string) MerchantDeployInfo
func GetMerchantDeployListByMap ¶
func GetMerchantDeployListByMap(params map[string]string, displayCount, offset int) (md []MerchantDeployInfo)
type MerchantInfo ¶
type MerchantInfo struct { Id int Status string BelongAgentUid string BelongAgentName string MerchantName string MerchantUid string MerchantKey string MerchantSecret string LoginPassword string LoginAccount string AutoSettle string AutoPayFor string WhiteIps string Remark string SinglePayForRoadUid string SinglePayForRoadName string RollPayForRoadCode string RollPayForRoadName string PayforFee float64 UpdateTime string CreateTime string }
func GetAllMerchant ¶
func GetAllMerchant() []MerchantInfo
func GetMerchantByParams ¶
func GetMerchantByParams(params map[string]string, displayCount, offset int) []MerchantInfo
func GetMerchantByPaykey ¶
func GetMerchantByPaykey(payKey string) MerchantInfo
func GetMerchantByPhone ¶
func GetMerchantByPhone(phone string) (m MerchantInfo)
func GetMerchantByUid ¶
func GetMerchantByUid(merchantUid string) MerchantInfo
func GetMerchantListByMap ¶
func GetMerchantListByMap(params map[string]string, displayCount, offset int) []MerchantInfo
type MerchantLoadInfo ¶
type MerchantLoadInfo struct { Id int Status string MerchantUid string RoadUid string LoadDate string LoadAmount float64 UpdateTime string CreateTime string }
func GetMerchantLoadInfoByMap ¶
func GetMerchantLoadInfoByMap(params map[string]string) []MerchantLoadInfo
type NotifyInfo ¶
type NotifyInfo struct { Id int Type string //订单-order,代付-payfor BankOrderId string MerchantOrderId string Status string Times int Url string Response string UpdateTime string CreateTime string }
func GetNotifyInfoByBankOrderId ¶
func GetNotifyInfoByBankOrderId(bankOrderId string) NotifyInfo
func GetNotifyInfosNotSuccess ¶
func GetNotifyInfosNotSuccess(params map[string]interface{}) []NotifyInfo
type OrderInfo ¶
type OrderInfo struct { Id int ShopName string //商品名称 OrderPeriod string //订单有效时间 MerchantOrderId string //商户订单id BankOrderId string //本系统订单id BankTransId string //上游流水id OrderAmount float64 //订单提交的金额 ShowAmount float64 //待支付的金额 FactAmount float64 //用户实际支付金额 RollPoolCode string //轮询池编码 RollPoolName string //轮询池名臣 RoadUid string //通道标识 RoadName string //通道名称 PayProductName string //上游支付公司的名称 PayProductCode string //上游支付公司的编码代号 PayTypeCode string //支付产品编码 PayTypeName string //支付产品名称 OsType string //操作系统类型 Status string //订单支付状态 Refund string //退款状态 RefundTime string //退款操作时间 Freeze string //冻结状态 FreezeTime string //冻结时间 Unfreeze string //是否已经解冻 UnfreezeTime string //解冻时间 ReturnUrl string //支付完跳转地址 NotifyUrl string //下游回调地址 MerchantUid string //商户id MerchantName string //商户名称 AgentUid string //该商户所属代理 AgentName string //该商户所属代理名称 UpdateTime string CreateTime string }
func GetOneOrder ¶
func GetOrderByBankOrderId ¶
type OrderProfitInfo ¶
type OrderProfitInfo struct { Id int MerchantName string MerchantUid string AgentName string AgentUid string PayProductCode string PayProductName string PayTypeCode string PayTypeName string Status string MerchantOrderId string BankOrderId string BankTransId string OrderAmount float64 ShowAmount float64 FactAmount float64 UserInAmount float64 SupplierRate float64 PlatformRate float64 AgentRate float64 AllProfit float64 SupplierProfit float64 PlatformProfit float64 AgentProfit float64 UpdateTime string CreateTime string }
func GetOrderProfitByBankOrderId ¶
func GetOrderProfitByBankOrderId(bankOrderId string) OrderProfitInfo
func GetOrderProfitByMap ¶
func GetOrderProfitByMap(params map[string]string, display, offset int) []OrderProfitInfo
type OrderSettleInfo ¶
type OrderSettleInfo struct { Id int PayProductCode string PayProductName string PayTypeCode string RoadUid string PayTypeName string MerchantUid string MerchantName string MerchantOrderId string BankOrderId string SettleAmount float64 IsAllowSettle string IsCompleteSettle string UpdateTime string CreateTime string }
func GetOrderSettleListByParams ¶
func GetOrderSettleListByParams(params map[string]string) []OrderSettleInfo
type PayforInfo ¶
type PayforInfo struct { Id int PayforUid string MerchantUid string MerchantName string MerchantOrderId string BankOrderId string BankTransId string RoadUid string RoadName string RollPoolCode string RollPoolName string PayforFee float64 PayforAmount float64 PayforTotalAmount float64 BankCode string BankName string BankAccountName string BankAccountNo string BankAccountType string Country string City string Ares string BankAccountAddress string PhoneNo string GiveType string Type string NotifyUrl string Status string IsSend string RequestTime string ResponseTime string ResponseContext string Remark string CreateTime string UpdateTime string }
func GetPayForByBankOrderId ¶
func GetPayForByBankOrderId(bankOrderId string) PayforInfo
func GetPayForByMap ¶
func GetPayForByMap(params map[string]string, displayCount, offset int) []PayforInfo
func GetPayForByMerchantOrderId ¶
func GetPayForByMerchantOrderId(merchantOrderId string) PayforInfo
func GetPayForListByParams ¶
func GetPayForListByParams(params map[string]string) []PayforInfo
type PlatformProfit ¶
type PlatformProfit struct { MerchantName string AgentName string SupplierName string PayTypeName string OrderAmount float64 OrderCount int PlatformProfit float64 AgentProfit float64 }
func GetPlatformProfitByMap ¶
func GetPlatformProfitByMap(params map[string]string) []PlatformProfit
type PowerInfo ¶
type PowerInfo struct { Id int FirstMenuUid string SecondMenuUid string SecondMenu string PowerId string PowerItem string Creater string Status string CreateTime string UpdateTime string }
func GetPowerById ¶
func GetPowerByIds ¶
type PowerInfoSlice ¶
type PowerInfoSlice []PowerInfo
func (PowerInfoSlice) Len ¶
func (sm PowerInfoSlice) Len() int
func (PowerInfoSlice) Less ¶
func (sm PowerInfoSlice) Less(i, j int) bool
func (PowerInfoSlice) Swap ¶
func (sm PowerInfoSlice) Swap(i, j int)
type RoadInfo ¶
type RoadInfo struct { Id int Status string RoadName string RoadUid string Remark string ProductName string ProductUid string PayType string BasicFee float64 SettleFee float64 TotalLimit float64 TodayLimit float64 SingleMinLimit float64 SingleMaxLimit float64 StarHour int EndHour int Params string TodayIncome float64 TotalIncome float64 TodayProfit float64 TotalProfit float64 Balance float64 RequestAll int RequestSuccess int UpdateTime string CreateTime string }
func GetAllRoad ¶
func GetRoadInfoByMap ¶
func GetRoadInfoByName ¶
func GetRoadInfoByRoadUid ¶
func GetRoadInfosByRoadUids ¶
type RoadPoolInfo ¶
type RoadPoolInfo struct { Id int Status string RoadPoolName string RoadPoolCode string RoadUidPool string UpdateTime string CreateTime string }
func GetAllRollPool ¶
func GetAllRollPool(params map[string]string) []RoadPoolInfo
func GetRoadPoolByMap ¶
func GetRoadPoolByMap(params map[string]string, displayCount, offset int) []RoadPoolInfo
func GetRoadPoolByName ¶
func GetRoadPoolByName(roadPoolName string) RoadPoolInfo
func GetRoadPoolByRoadPoolCode ¶
func GetRoadPoolByRoadPoolCode(roadPoolCode string) RoadPoolInfo
type RoleInfo ¶
type RoleInfo struct { Id int RoleName string RoleUid string ShowFirstMenu string ShowFirstUid string ShowSecondMenu string ShowSecondUid string ShowPower string ShowPowerUid string Creater string Status string Remark string CreateTime string UpdateTime string }
func GetRoleByRoleUid ¶
type SecondMenuInfo ¶
type SecondMenuInfo struct { Id int FirstMenuOrder int FirstMenuUid string FirstMenu string MenuOrder int SecondMenuUid string SecondMenu string SecondRouter string Creater string Status string CreateTime string UpdateTime string }
func GetSecondMenuByMap ¶
func GetSecondMenuByMap(params map[string]string, displayCount, offset int) []SecondMenuInfo
func GetSecondMenuInfoByMenuOrder ¶
func GetSecondMenuInfoByMenuOrder(menuOrder int, firstMenuUid string) SecondMenuInfo
func GetSecondMenuInfoBySecondMenuUid ¶
func GetSecondMenuInfoBySecondMenuUid(secondMenuUid string) SecondMenuInfo
func GetSecondMenuInfoBySecondMenuUids ¶
func GetSecondMenuInfoBySecondMenuUids(secondMenuUids []string) []SecondMenuInfo
func GetSecondMenuList ¶
func GetSecondMenuList() []SecondMenuInfo
func GetSecondMenuListByFirstMenuUid ¶
func GetSecondMenuListByFirstMenuUid(firstMenuUid string) []SecondMenuInfo
type SecondMenuSlice ¶
type SecondMenuSlice []SecondMenuInfo
func (SecondMenuSlice) Len ¶
func (sm SecondMenuSlice) Len() int
func (SecondMenuSlice) Less ¶
func (sm SecondMenuSlice) Less(i, j int) bool
func (SecondMenuSlice) Swap ¶
func (sm SecondMenuSlice) Swap(i, j int)
Source Files ¶
- account.go
- account_history_info.go
- agent_info.go
- agent_profit.go
- bank_card_info.go
- init.go
- menu_info.go
- merchant_deploy_info.go
- merchant_info.go
- merchant_load_info.go
- notify_info.go
- order_info.go
- order_profit_info.go
- order_settle_info.go
- payfor_info.go
- platform_profit.go
- power_info.go
- road_info.go
- road_pool_info.go
- role_info.go
- second_menu_info.go
- transaction.go
- user_info.go