作者 lyh

gx

... ... @@ -236,7 +236,7 @@ class ProjectLogic extends BaseLogic
$data = $param['deploy_build'];
$data['project_id'] = $param['id'];
$data['id'] = DeployBuild::where('project_id', $param['id'])->value('id');
if(!empty($data['id'])){
if(empty($data['id'])){
$hashids = new Hashids('test_domain', 5, 'abcdefghjkmnpqrstuvwxyz1234567890');
$code = $hashids->encode($data['project_id']);
$data['test_domain'] = 'https://v6-' . $code . '.globalso.site/';
... ...