作者 lyh

gx

@@ -6,16 +6,12 @@ use App\Enums\Common\Code; @@ -6,16 +6,12 @@ use App\Enums\Common\Code;
6 use App\Helper\Common; 6 use App\Helper\Common;
7 use App\Http\Controllers\Controller; 7 use App\Http\Controllers\Controller;
8 use App\Http\Logic\Aside\Project\ProjectLogic; 8 use App\Http\Logic\Aside\Project\ProjectLogic;
9 -use App\Http\Requests\Bside\Nav\NavRequest;  
10 use App\Http\Requests\Scene; 9 use App\Http\Requests\Scene;
11 -use App\Models\Project\DeployBuild;  
12 -use App\Models\Project\DeployOptimize;  
13 use App\Models\User\User as UserModel; 10 use App\Models\User\User as UserModel;
14 use Illuminate\Http\JsonResponse; 11 use Illuminate\Http\JsonResponse;
15 use Illuminate\Http\Request; 12 use Illuminate\Http\Request;
16 use Illuminate\Http\Exceptions\HttpResponseException; 13 use Illuminate\Http\Exceptions\HttpResponseException;
17 use Illuminate\Support\Facades\Cache; 14 use Illuminate\Support\Facades\Cache;
18 -use Illuminate\Support\Facades\Validator;  
19 15
20 class BaseController extends Controller 16 class BaseController extends Controller
21 { 17 {
@@ -220,10 +216,11 @@ class BaseController extends Controller @@ -220,10 +216,11 @@ class BaseController extends Controller
220 * @method :post 216 * @method :post
221 * @time :2023/6/6 14:09 217 * @time :2023/6/6 14:09
222 */ 218 */
223 - public function projectUrlNotify($param){ 219 + public function projectUrlNotify($str = ''){
  220 + $urlStr = 'api/updateHtmlNotify?model=';
224 $domain = $this->getProjectDomain(); 221 $domain = $this->getProjectDomain();
225 if(!empty($domain)){ 222 if(!empty($domain)){
226 - $url = $domain.'api/updateHtmlNotify?model='.$param; 223 + $url = $domain.$urlStr.$str;
227 return http_get($url); 224 return http_get($url);
228 } 225 }
229 return false; 226 return false;