[6.3.0] fix cert null bug and add func of request cert file
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package com.mogo.eagle.core.function.call.cloud
|
||||
|
||||
import com.mogo.eagle.core.data.constants.MogoServicePaths
|
||||
import com.mogo.eagle.core.data.deva.chain.ChainConstant
|
||||
import com.mogo.eagle.core.function.api.cloud.IMoGoCertProvider
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import com.zhjt.service.chain.ChainLog
|
||||
|
||||
object CallerCloudCertManager {
|
||||
|
||||
@@ -12,6 +14,12 @@ object CallerCloudCertManager {
|
||||
MogoServicePaths.PATH_CERT_DOWN_LOAD_PROVIDER
|
||||
)
|
||||
|
||||
@ChainLog(
|
||||
linkChainLog = ChainConstant.CHAIN_TYPE_STATUS,
|
||||
linkCode = ChainConstant.CHAIN_SOURCE_HMI,
|
||||
nodeAliasCode = ChainConstant.CHAIN_CODE_CERT_REQUEST,
|
||||
paramIndexes = [-1]
|
||||
)
|
||||
fun certFileDownLoad(onError: ((String) -> Unit)? = null) {
|
||||
certProviderApi.certificateDownLoad(onError)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user