mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-13 04:19:57 +08:00
由gopath形式改为module
This commit is contained in:
34
agent/sys/enum/conf.go
Normal file
34
agent/sys/enum/conf.go
Normal file
@@ -0,0 +1,34 @@
|
||||
/***************************************************
|
||||
** @Desc : This file for 配置常量
|
||||
** @Time : 2019.04.01 11:45
|
||||
** @Author : Joker
|
||||
** @File : strings
|
||||
** @Last Modified by : Joker
|
||||
** @Last Modified time: 2019-11-29 11:05:48
|
||||
** @Software: GoLand
|
||||
****************************************************/
|
||||
package enum
|
||||
|
||||
// 对接云片
|
||||
// 短信配置
|
||||
const (
|
||||
ApiKey = "fd264ab6c43c02c52s40eab1ba"
|
||||
TPL1 = 332236
|
||||
SendSmsUrl = "https://sms.yunpian.com/v2/sms/tpl_single_send.json"
|
||||
)
|
||||
|
||||
// session 配置
|
||||
const (
|
||||
SessionPath = "./sys/temp" // 保存路径
|
||||
SessionExpireTime = 9600 // 有效时间,秒
|
||||
CookieExpireTime = 1800 // 有效时间,秒
|
||||
SmsCookieExpireTime = 60 // 有效时间,秒
|
||||
LocalSessionName = "JOKERSession" // 客户端session名称
|
||||
)
|
||||
|
||||
// 提现限制金额
|
||||
const (
|
||||
WithdrawalMaxAmount = 45000
|
||||
WithdrawalMinAmount = 2
|
||||
SettlementFee = 2 // 提现单笔手续费
|
||||
)
|
||||
Reference in New Issue
Block a user