作者 lyh

变更数据

@@ -61,6 +61,28 @@ class lyhDemo extends Command @@ -61,6 +61,28 @@ class lyhDemo extends Command
61 return $this->_actionRoute(); 61 return $this->_actionRoute();
62 } 62 }
63 63
  64 + /**
  65 + * @remark :修改ai_blog
  66 + * @name :_actionAiBolog
  67 + * @author :lyh
  68 + * @method :post
  69 + * @time :2025/11/21 13:52
  70 + */
  71 + public function _actionAiBolog()
  72 + {
  73 + $projectModel = new Project();
  74 + $lists = $projectModel->list(['delete_status' => 0,'id'=>1,'project_type'=>0,'extend_type'=>0,'type'=>['in',[1,2,3,4,6]]], 'id', ['id']);
  75 + foreach ($lists as $item) {
  76 + echo date('Y-m-d H:i:s') . '开始--项目的id:' . $item['id'] . PHP_EOL;
  77 + ProjectServer::useProject($item['project_id']);
  78 + $aiblog = new AiBlog();
  79 + $task_ids = $aiblog->selectField(['image'=>'','created_at'=>['>=','2025-11-17 00:00:00']],'691b5b8a9632e');
  80 + dd($task_ids);
  81 + DB::disconnect('custom_mysql');
  82 + }
  83 + }
  84 +
  85 +
64 public function _actionDa() 86 public function _actionDa()
65 { 87 {
66 $geoLinkModel = new GeoLink(); 88 $geoLinkModel = new GeoLink();
@@ -99,6 +99,11 @@ class Extension3915ModuleController extends BaseController @@ -99,6 +99,11 @@ class Extension3915ModuleController extends BaseController
99 public function importData() 99 public function importData()
100 { 100 {
101 $data = $this->param; 101 $data = $this->param;
  102 + //todo::优先截断表
  103 + $resultData = [];
  104 + foreach ($data as $k => $v){
  105 +
  106 + }
102 return $data; 107 return $data;
103 } 108 }
104 } 109 }