|
|
@@ -456,33 +456,191 @@
|
|
|
</select>
|
|
|
<select id="getByAppId" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
- config_id, config_name, open_id appId, secret, app_id platformAppId, app_key platformAppSecret, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
- ,can_simulator,taku_app_id,taku_key,taku_banner_pid,taku_interstitial_pid,taku_reward_pid,taku_native_pid,can_use_adb,can_accumulation,can_use_float,can_use_root,ditch_id,power_wait_time,interstitial_interval_time
|
|
|
+ config_id,
|
|
|
+ config_name,
|
|
|
+ open_id,
|
|
|
+ secret,
|
|
|
+ app_id,
|
|
|
+ app_key,
|
|
|
+ app_type,
|
|
|
+ user_path,
|
|
|
+ login_path,
|
|
|
+ ad_path,
|
|
|
+ answer_path,
|
|
|
+ power_path,
|
|
|
+ taku_app_id,
|
|
|
+ taku_key,
|
|
|
+ taku_banner_pid,
|
|
|
+ taku_native_pid,
|
|
|
+ taku_reward_pid,
|
|
|
+ taku_interstitial_pid,
|
|
|
+ can_use_root,
|
|
|
+ can_use_adb,
|
|
|
+ can_use_float,
|
|
|
+ can_accumulation,
|
|
|
+ can_simulator,
|
|
|
+ ditch_id,
|
|
|
+ power_wait_time,
|
|
|
+ interstitial_interval_time,
|
|
|
+ low_value_tip,
|
|
|
+ brush_tip,
|
|
|
+ flow_interval_time,
|
|
|
+ task_limit_tip,
|
|
|
+ start_wait_time,
|
|
|
+ can_cache_video
|
|
|
from yt_app_default_config
|
|
|
where app_id = #{appId}
|
|
|
</select>
|
|
|
<select id="getDefaultConfig" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
- config_id, config_name, open_id appId, secret, app_id platformAppId, app_key platformAppSecret, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
- ,can_simulator,taku_app_id,taku_key,taku_banner_pid,taku_interstitial_pid,taku_reward_pid,taku_native_pid,can_use_adb,can_accumulation,can_use_float,can_use_root,ditch_id,power_wait_time,interstitial_interval_time
|
|
|
+ config_id,
|
|
|
+ config_name,
|
|
|
+ open_id,
|
|
|
+ secret,
|
|
|
+ app_id,
|
|
|
+ app_key,
|
|
|
+ app_type,
|
|
|
+ user_path,
|
|
|
+ login_path,
|
|
|
+ ad_path,
|
|
|
+ answer_path,
|
|
|
+ power_path,
|
|
|
+ taku_app_id,
|
|
|
+ taku_key,
|
|
|
+ taku_banner_pid,
|
|
|
+ taku_native_pid,
|
|
|
+ taku_reward_pid,
|
|
|
+ taku_interstitial_pid,
|
|
|
+ can_use_root,
|
|
|
+ can_use_adb,
|
|
|
+ can_use_float,
|
|
|
+ can_accumulation,
|
|
|
+ can_simulator,
|
|
|
+ ditch_id,
|
|
|
+ power_wait_time,
|
|
|
+ interstitial_interval_time,
|
|
|
+ low_value_tip,
|
|
|
+ brush_tip,
|
|
|
+ flow_interval_time,
|
|
|
+ task_limit_tip,
|
|
|
+ start_wait_time,
|
|
|
+ can_cache_video
|
|
|
from yt_app_default_config
|
|
|
where app_type = #{appType}
|
|
|
</select>
|
|
|
<select id="getDefaultConfigByDitchId" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
- config_id, config_name, open_id, secret, app_id, app_key, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
- ,can_simulator,taku_app_id,taku_key,taku_banner_pid,taku_interstitial_pid,taku_reward_pid,taku_native_pid,can_use_adb,can_accumulation,can_use_float,can_use_root,ditch_id,power_wait_time,interstitial_interval_time
|
|
|
+ config_id,
|
|
|
+ config_name,
|
|
|
+ open_id,
|
|
|
+ secret,
|
|
|
+ app_id,
|
|
|
+ app_key,
|
|
|
+ app_type,
|
|
|
+ user_path,
|
|
|
+ login_path,
|
|
|
+ ad_path,
|
|
|
+ answer_path,
|
|
|
+ power_path,
|
|
|
+ taku_app_id,
|
|
|
+ taku_key,
|
|
|
+ taku_banner_pid,
|
|
|
+ taku_native_pid,
|
|
|
+ taku_reward_pid,
|
|
|
+ taku_interstitial_pid,
|
|
|
+ can_use_root,
|
|
|
+ can_use_adb,
|
|
|
+ can_use_float,
|
|
|
+ can_accumulation,
|
|
|
+ can_simulator,
|
|
|
+ ditch_id,
|
|
|
+ power_wait_time,
|
|
|
+ interstitial_interval_time,
|
|
|
+ low_value_tip,
|
|
|
+ brush_tip,
|
|
|
+ flow_interval_time,
|
|
|
+ task_limit_tip,
|
|
|
+ start_wait_time,
|
|
|
+ can_cache_video
|
|
|
from yt_app_default_config
|
|
|
where ditch_id = #{ditchId}
|
|
|
</select>
|
|
|
<select id="getLastOne" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
- config_id, config_name, open_id, secret, app_id, app_key, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
- ,can_simulator,taku_app_id,taku_key,taku_banner_pid,taku_interstitial_pid,taku_reward_pid,taku_native_pid,can_use_adb,can_accumulation,can_use_float,can_use_root,ditch_id,power_wait_time,interstitial_interval_time
|
|
|
+ config_id,
|
|
|
+ config_name,
|
|
|
+ open_id,
|
|
|
+ secret,
|
|
|
+ app_id,
|
|
|
+ app_key,
|
|
|
+ app_type,
|
|
|
+ user_path,
|
|
|
+ login_path,
|
|
|
+ ad_path,
|
|
|
+ answer_path,
|
|
|
+ power_path,
|
|
|
+ taku_app_id,
|
|
|
+ taku_key,
|
|
|
+ taku_banner_pid,
|
|
|
+ taku_native_pid,
|
|
|
+ taku_reward_pid,
|
|
|
+ taku_interstitial_pid,
|
|
|
+ can_use_root,
|
|
|
+ can_use_adb,
|
|
|
+ can_use_float,
|
|
|
+ can_accumulation,
|
|
|
+ can_simulator,
|
|
|
+ ditch_id,
|
|
|
+ power_wait_time,
|
|
|
+ interstitial_interval_time,
|
|
|
+ low_value_tip,
|
|
|
+ brush_tip,
|
|
|
+ flow_interval_time,
|
|
|
+ task_limit_tip,
|
|
|
+ start_wait_time,
|
|
|
+ can_cache_video
|
|
|
from yt_app_default_config
|
|
|
where app_id = #{appId}
|
|
|
limit 1
|
|
|
</select>
|
|
|
+ <select id="getLastDefaultConfig" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
+ SELECT
|
|
|
+ config_id,
|
|
|
+ config_name,
|
|
|
+ open_id,
|
|
|
+ secret,
|
|
|
+ app_id,
|
|
|
+ app_key,
|
|
|
+ app_type,
|
|
|
+ user_path,
|
|
|
+ login_path,
|
|
|
+ ad_path,
|
|
|
+ answer_path,
|
|
|
+ power_path,
|
|
|
+ taku_app_id,
|
|
|
+ taku_key,
|
|
|
+ taku_banner_pid,
|
|
|
+ taku_native_pid,
|
|
|
+ taku_reward_pid,
|
|
|
+ taku_interstitial_pid,
|
|
|
+ can_use_root,
|
|
|
+ can_use_adb,
|
|
|
+ can_use_float,
|
|
|
+ can_accumulation,
|
|
|
+ can_simulator,
|
|
|
+ ditch_id,
|
|
|
+ power_wait_time,
|
|
|
+ interstitial_interval_time,
|
|
|
+ low_value_tip,
|
|
|
+ brush_tip,
|
|
|
+ flow_interval_time,
|
|
|
+ task_limit_tip,
|
|
|
+ start_wait_time,
|
|
|
+ can_cache_video
|
|
|
+ FROM yt_app_default_config
|
|
|
+ ORDER BY config_id DESC
|
|
|
+ LIMIT 1
|
|
|
+ </select>
|
|
|
<select id="getSecretByAppId" resultType="java.lang.String">
|
|
|
select
|
|
|
secret
|