作者 lyh

gx

... ... @@ -22,9 +22,11 @@ class DeployBuild extends Base
return Arr::setToArr($value, 'trim');
}
public function getTestDomainAttribute($value): string
public function getTestDomainAttribute(): string
{
return $value;
$hashids = new Hashids('test_domain', 5, 'abcdefghjkmnpqrstuvwxyz1234567890');
$code = $hashids->encode($this->project_id);
return 'https://v6-' . $code . '.globalso.site';
}
public static function clearCache($row){
... ...