def getSdkConfig(jsonConfig, config):
    print('getSdkConfig tianyuyou...')
    
    if 'tianyuyou' in config:
        tianyuyou = config['tianyuyou']

        akJson = {}
        akJson['cp_game_id'] = tianyuyou['cp_game_id']
        akJson['a'] = tianyuyou['a']
        akJson['k'] = tianyuyou['k']
        akJson['game_name'] = config['name']


        pJson = {}
        splash_sc = {}
        sub_sdk_param = {}

        pJson['splash_land'] = 'tyr_splash_land.png'
        pJson['splash_port'] = 'tyr_splash_port.png'
        pJson['splash_bgc'] = 'splash_bgc'

        splash_sc['setScaleType'] = False
        splash_sc['type'] = 0
        pJson['splash_sc'] = splash_sc

        pJson['agent_id'] = tianyuyou['agent_id']
        pJson['agent_app_id'] = tianyuyou['agent_app_id']

        sub_sdk_param['TY_APPID'] = tianyuyou['TY_APPID']
        sub_sdk_param['TY_CLIENTID'] = tianyuyou['TY_CLIENTID']
        sub_sdk_param['TY_CLIENTKEY'] = tianyuyou['TY_CLIENTKEY']
        sub_sdk_param['URL_ID'] = tianyuyou['URL_ID']

        pJson['sub_sdk_param'] = sub_sdk_param

        jsonConfig['akJson'] = akJson
        jsonConfig['pJson'] = pJson


        if 'includeOtherPay' in tianyuyou:
            if tianyuyou['includeOtherPay'] == 0:
                jsonConfig['libConfig'] = 'nopay'
            else:
                jsonConfig['libConfig'] = 'default'
        else:
            jsonConfig['libConfig'] = 'default'