|
@@ -176,6 +176,8 @@ var (
|
|
|
ETA_FORUM_HUB_MD5_KEY string
|
|
|
)
|
|
|
|
|
|
+var ApproveUserId int
|
|
|
+
|
|
|
func init() {
|
|
|
tmpRunMode, err := web.AppConfig.String("run_mode")
|
|
|
if err != nil {
|
|
@@ -377,6 +379,9 @@ ZwIDAQAB
|
|
|
|
|
|
//微信商户内部配置
|
|
|
WxPayConfig()
|
|
|
+
|
|
|
+ //出差审批人配置
|
|
|
+ initApproveUserIdConfig()
|
|
|
}
|
|
|
|
|
|
// 测试环境模板消息
|
|
@@ -549,3 +554,11 @@ func WxPayConfig() {
|
|
|
//http://adminapi.brilliantstart.cn/admin/
|
|
|
//http://adminapi.brilliantstart.cn/swagger/
|
|
|
//http://8.136.199.33:8602/swagger/
|
|
|
+
|
|
|
+// initApproveUserIdConfig 出差审批人配置
|
|
|
+func initApproveUserIdConfig() {
|
|
|
+ ApproveUserId = 9
|
|
|
+ if RunMode == "debug" {
|
|
|
+ ApproveUserId = 231
|
|
|
+ }
|
|
|
+}
|