diff --git a/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt b/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt index 1eae8d9..0ae1745 100644 --- a/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt +++ b/commonLib/src/main/java/com/common/commonlib/net/BaseObserve.kt @@ -27,6 +27,8 @@ import javax.net.ssl.SSLHandshakeException open class BaseObserve { var api: T? = null + constructor() + constructor(clazz: Class) { api = RequestManager.create(clazz) }