作者 lyh

变更数据

... ... @@ -68,4 +68,17 @@ class GeoController extends BaseController
$data = $this->logic->saveConfig($this->param);
$this->response('success', Code::SUCCESS, $data);
}
/**
* @remark :统计数据
* @name :getCount
* @author :lyh
* @method :post
* @time :2025/10/30 10:37
*/
public function getCount()
{
$data = $this->logic->getCount();
$this->response('success', Code::SUCCESS, $data);
}
}
... ...
... ... @@ -40,7 +40,7 @@ class GeoConfirmLogic extends BaseLogic
public function saveConfirmContent($param)
{
try {
$info = $this->model->read(['project_id' => $param['project_id']]);
$info = $this->model->read(['project_id' => $param['project_id'],'type' => $param['type']]);
if($info === false){
$id = $this->model->addReturnId($param);
}else{
... ...
... ... @@ -97,4 +97,16 @@ class GeoLogic extends BaseLogic
return $this->success(['id'=>$id]);
}
/**
* @remark :获取统计数据
* @name :getCount
* @author :lyh
* @method :post
* @time :2025/10/30 10:39
*/
public function getCount()
{
}
}
... ...