fix:上传logo--debug模式
This commit is contained in:
parent
6251fea936
commit
8dcd2b531a
|
@ -87,16 +87,15 @@ func (l *defaultImageHandle) LogoInfoSet(ctx context.Context, in *LogoInfoSetReq
|
|||
}
|
||||
|
||||
var resultBLM constants.BLMServiceUrlResult
|
||||
postMap := make(map[string]string, 2)
|
||||
postMap := make(map[string]string, 3)
|
||||
postMap["logo_url"] = in.LogoUrl
|
||||
postMap["version"] = in.Version
|
||||
postMap["is_all_template"] = "0"
|
||||
|
||||
// if in.Debug != nil && in.Debug.IsAllTemplateTag == 1 {
|
||||
// postMap["is_all_template"] = "1"
|
||||
// } else {
|
||||
// postMap["is_all_template"] = "0"
|
||||
// }
|
||||
if in.Debug != nil && in.Debug.IsAllTemplateTag == 1 {
|
||||
postMap["is_all_template"] = "1"
|
||||
} else {
|
||||
postMap["is_all_template"] = "0"
|
||||
}
|
||||
|
||||
logc.Infof(ctx, "算法请求--LOGO基础信息--开始时间:%v", time.Now().UTC())
|
||||
err := curl.NewClient(ctx, &curl.Config{
|
||||
|
|
Loading…
Reference in New Issue
Block a user