|
@@ -229,7 +229,7 @@ class LandingPageLinkService
|
|
|
if (in_array($type, LandingPageLinkService::REPORT_TYPE)) {
|
|
|
Redis::hset('channel:setting:' . $channel_id, 'tiktok_report_type', $type);
|
|
|
Redis::hDel('channel:setting:' . $channel_id, 'tiktok_report_percent');
|
|
|
- Redis::hset('channel:setting:' . $channel_id, 'new_tiktok_report_percent', $molecule);
|
|
|
+ Redis::hset('channel:setting:' . $channel_id, 'new_tiktok_report_percent', $molecule == 0 ? 100 : $molecule);
|
|
|
Redis::hset('channel:setting:' . $channel_id, 'tiktok_report_eligible_count', $eligible_count);
|
|
|
$service = new Report;
|
|
|
$service->report('api/report/config', [
|