|
...
|
...
|
@@ -9,6 +9,7 @@ |
|
|
|
|
|
|
|
namespace App\Models\Geo;
|
|
|
|
|
|
|
|
use App\Helper\Arr;
|
|
|
|
use App\Models\Base;
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -21,4 +22,34 @@ use App\Models\Base; |
|
|
|
class GeoQuestionResult extends Base
|
|
|
|
{
|
|
|
|
protected $table = 'gl_geo_question_result';
|
|
|
|
/**
|
|
|
|
* @remark :geo提交关键字获取器
|
|
|
|
* @name :getUrlAttribute
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2025/7/3 9:53
|
|
|
|
*/
|
|
|
|
public function getKeywordsAttribute($value)
|
|
|
|
{
|
|
|
|
if($value){
|
|
|
|
$value = Arr::s2a($value);
|
|
|
|
}
|
|
|
|
return $value;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :geo提交网址获取器
|
|
|
|
* @name :getUrlAttribute
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2025/7/3 9:52
|
|
|
|
*/
|
|
|
|
public function getUrlAttribute($value)
|
|
|
|
{
|
|
|
|
if($value){
|
|
|
|
$value = Arr::s2a($value);
|
|
|
|
}
|
|
|
|
return $value;
|
|
|
|
}
|
|
|
|
|
|
|
|
} |
...
|
...
|
|