business_admin.go 822 字节
package constant

import "os"

// 用户中心地址
var UCENTER_SERVICE_HOST = "http://suplus-ucenter-test.fjmaimaimai.com"

// var UCENTER_HOST = "https://suplus-ucenter-dev.fjmaimaimai.com" //统一用户中心地址
var UCENTER_SECRET = "cykbjnfqgctn"
var UCENTER_APP_KEY = "39aefef9e22744a3b2d2d3791824ae7b"
var UCENTER_CHECK_ALT = "rsF0pL!6DwjBO735"

// 企业平台地址
var BUSINESS_ADMIN_SERVICE_HOST = "http://suplus-business-admin-test.fjmaimaimai.com"

// 绩效管理平台ID
var PLATFORM_ADMIN_ID = 28

// 员工绩效平台ID
var PLATFORM_FONT_ID = 29

func init() {
	if os.Getenv("UCENTER_SERVICE_HOST") != "" {
		UCENTER_SERVICE_HOST = os.Getenv("UCENTER_SERVICE_HOST")
	}
	if os.Getenv("BUSINESS_ADMIN_SERVICE_HOST") != "" {
		BUSINESS_ADMIN_SERVICE_HOST = os.Getenv("BUSINESS_ADMIN_SERVICE_HOST")
	}
}