作者 lyh

gx

... ... @@ -135,6 +135,13 @@ class BTemplateLogLogic extends BaseLogic
return $this->success(['html'=>$html]);
}
/**
* @remark :生成界面
* @name :getTemplateHtml
* @author :lyh
* @method :post
* @time :2024/4/3 17:11
*/
public function getTemplateHtml($info){
if(empty($info['other'])){
$footer_other = str_replace('<header','',characterTruncation($info['text'],'/<style id="globalsojs-footer">(.*?)<header/s'));
... ...
... ... @@ -81,8 +81,6 @@ class RatingLogic extends BaseLogic
$str = trim($str,'&');
$url = "http://www.quanqiusou.cn/extend_api/api/service_score.php?postid=$postId&token=$token&ftype=$fType&$str";
$rs = http_get($url,['charset=utf-8']);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND);
return $rs;
}
}
... ...