package qiniu import zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" var ( AK = "MmxNdai23egjNUHjdzEVaTPdPCIbWzENz9BQuak3" SK = "mElaFlM9O16rXp-ihoQdJ9KOH56naKm3MoyQBA59" BUCKET = "dev-fnuoos" // 桶子名称 BUCKET_SCHEME = "http" BUCKET_REGION = "up-z2.qiniup.com" Expires uint64 = 3600 ) func Init(ak, sk, bucket, region, scheme string) { AK, SK, BUCKET, BUCKET_REGION, BUCKET_SCHEME = ak, sk, bucket, region, scheme } func Sign(t string) string { return zhios_third_party_utils.Md5(AK + SK + t) }