fix:图片裁剪
This commit is contained in:
parent
e11d777f18
commit
eb2012c5d1
|
@ -94,6 +94,10 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
|||
hashKeyData.LogoUrl = *userMaterialInfo.ResourceUrl
|
||||
var resourceId string = hash.JsonHashKey(hashKeyData)
|
||||
|
||||
fmt.Println("hashKeyData:", hashKeyData)
|
||||
|
||||
fmt.Println("resourceId:", resourceId)
|
||||
|
||||
resourceModel := gmodel.NewFsResourceModel(l.MysqlConn)
|
||||
resourceInfo, err := resourceModel.FindOneById(ctx, resourceId)
|
||||
if err == nil && resourceInfo.ResourceId != "" {
|
||||
|
|
Loading…
Reference in New Issue
Block a user