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