package com.gh.common.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.common.util.WechatBindHelper
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.IWechatBindHelperProvider

@Route(path = RouteConsts.provider.wechatHelper, name = "WechatHelper暴露服务")
class WechatHelperProviderImpl : IWechatBindHelperProvider {
    override fun getWechatConfig(callback: (() -> Unit)?) {
        WechatBindHelper.getWechatConfig {
            callback?.invoke()
        }
    }

    override fun init(context: Context?) {
        // Do nothing
    }
}