|
...
|
...
|
@@ -6,16 +6,12 @@ use App\Enums\Common\Code; |
|
|
|
use App\Helper\Common;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
use App\Http\Logic\Aside\Project\ProjectLogic;
|
|
|
|
use App\Http\Requests\Bside\Nav\NavRequest;
|
|
|
|
use App\Http\Requests\Scene;
|
|
|
|
use App\Models\Project\DeployBuild;
|
|
|
|
use App\Models\Project\DeployOptimize;
|
|
|
|
use App\Models\User\User as UserModel;
|
|
|
|
use Illuminate\Http\JsonResponse;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
use Illuminate\Http\Exceptions\HttpResponseException;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
|
|
use Illuminate\Support\Facades\Validator;
|
|
|
|
|
|
|
|
class BaseController extends Controller
|
|
|
|
{
|
|
...
|
...
|
@@ -220,10 +216,11 @@ class BaseController extends Controller |
|
|
|
* @method :post
|
|
|
|
* @time :2023/6/6 14:09
|
|
|
|
*/
|
|
|
|
public function projectUrlNotify($param){
|
|
|
|
public function projectUrlNotify($str = ''){
|
|
|
|
$urlStr = 'api/updateHtmlNotify?model=';
|
|
|
|
$domain = $this->getProjectDomain();
|
|
|
|
if(!empty($domain)){
|
|
|
|
$url = $domain.'api/updateHtmlNotify?model='.$param;
|
|
|
|
$url = $domain.$urlStr.$str;
|
|
|
|
return http_get($url);
|
|
|
|
}
|
|
|
|
return false;
|
...
|
...
|
|