Skip to content

Commit

Permalink
fix(图片审核)
Browse files Browse the repository at this point in the history
v1.1.3
1.修改腾讯审核Util类名错误

Signed-off-by: 岚雨凛 <cheng_ying@outlook.com>
  • Loading branch information
YuLinLoli committed May 28, 2024
1 parent 7497cd2 commit 9eca05f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/module/ImageCheckModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.yulin.entity.LocalBody
import com.yulin.util.AliImageCheckUtil.aliImageCheckFun
import com.yulin.util.CacheUtil
import com.yulin.util.InternetUtil
import com.yulin.util.TencentCheckModule.tencentImageCheckUtil
import com.yulin.util.TencentCheckUtil.tencentImageCheckUtil
import com.yulin.util.YuLinImageUtil
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import com.qcloud.cos.model.ciModel.auditing.ImageAuditingResponse
import com.qcloud.cos.region.Region
import com.yulin.config.ImageCheckApiConfig

object TencentCheckModule {

object TencentCheckUtil {
private val cred by lazy { BasicCOSCredentials(ImageCheckApiConfig.tencentApi.secretId, ImageCheckApiConfig.tencentApi.secretKey) }
private val clientConfig by lazy {
ClientConfig(Region(ImageCheckApiConfig.tencentApi.region))
Expand Down

0 comments on commit 9eca05f

Please sign in to comment.