|
|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Services;
|
|
|
|
|
|
use App\Constants\HttpStatus;
|
|
|
+use App\Constants\Util;
|
|
|
use App\Models\ActivityReward;
|
|
|
use App\Models\Role;
|
|
|
use Exception;
|
|
|
@@ -76,6 +77,8 @@ class ActivityRewardService extends BaseService
|
|
|
$params['start_time'] = strtotime($params['start_time'] . " 00:00:00");
|
|
|
if (isset($params['end_time']))
|
|
|
$params['end_time'] = strtotime($params['end_time'] . " 23:59:59");
|
|
|
+ if (isset($params['detail_image']))
|
|
|
+ $params['detail_image'] = Util::replacePartInUrl($params['detail_image']);
|
|
|
|
|
|
|
|
|
if (!empty($params['id'])) {
|