/* * @description: * @Author: CP * @Date: 2020-08-21 11:09:48 * @FilePath: \construction_management\conf\project.go */ package conf import "time" const SysTimeform = "2006-01-02 15:04:05" const SysTimeformShort = "2006-01-02" // 请填写您的AccessKeyId。 const AccessKeyId = "LTAI4GAEAwazcR8JvjZxMiJL" // 请填写您的AccessKeySecret。 const AccessKeySecret = "805hbdLwM6cRcBBLSAE5o8mdDAi2NY" // host的格式为 bucketname.endpoint ,请替换为您的真实信息。 const OssHost string = "http://measuresaas.oss-cn-shenzhen.aliyuncs.com" // callbackUrl为 上传回调服务器的URL,请将下面的IP和Port配置为您自己的真实信息。 const CallbackUrl string = "http://88.88.88.88:8888" // 用户上传文件时指定的前缀。 --user-dir-prefix/ const Upload_dir string = "xinxihua/" const Expire_time int64 = 60 // 中国时区 var SysTimeLocation, _ = time.LoadLocation("Asia/Chongqing") // ObjSalesign 签名密钥 // var SignSecret = []byte("cpcm005687gokaif") var SignSecret = "cpcm005687gokaif" // cookie中的加密验证密钥 var CookieSecret = "cm_login_account" // nodejs rpc 服务端 const NodeRpcHost = "localhost:50051" // 是否需要启动全局计划任务服务 var RunningCrontabService = false // 审批常量 type auditStatus struct { uncheck int checking int checked int checkNo int } func NewAuditConsts() *auditStatus { return &auditStatus{ uncheck: 0, // 待审批 checking: 1, // 审批中 checked: 2, // 审批完成 checkNo: 3, // 退回 } }