作者 lyh

变更数据

... ... @@ -61,6 +61,28 @@ class lyhDemo extends Command
return $this->_actionRoute();
}
/**
* @remark :修改ai_blog
* @name :_actionAiBolog
* @author :lyh
* @method :post
* @time :2025/11/21 13:52
*/
public function _actionAiBolog()
{
$projectModel = new Project();
$lists = $projectModel->list(['delete_status' => 0,'id'=>1,'project_type'=>0,'extend_type'=>0,'type'=>['in',[1,2,3,4,6]]], 'id', ['id']);
foreach ($lists as $item) {
echo date('Y-m-d H:i:s') . '开始--项目的id:' . $item['id'] . PHP_EOL;
ProjectServer::useProject($item['project_id']);
$aiblog = new AiBlog();
$task_ids = $aiblog->selectField(['image'=>'','created_at'=>['>=','2025-11-17 00:00:00']],'691b5b8a9632e');
dd($task_ids);
DB::disconnect('custom_mysql');
}
}
public function _actionDa()
{
$geoLinkModel = new GeoLink();
... ...
... ... @@ -99,6 +99,11 @@ class Extension3915ModuleController extends BaseController
public function importData()
{
$data = $this->param;
//todo::优先截断表
$resultData = [];
foreach ($data as $k => $v){
}
return $data;
}
}
... ...