|
@@ -3,9 +3,11 @@ namespace app\controller;
|
|
|
|
|
|
use app\BaseController;
|
|
use app\BaseController;
|
|
use app\model\Ry;
|
|
use app\model\Ry;
|
|
|
|
+use app\model\ZdCpmc;
|
|
use app\service\NszyService;
|
|
use app\service\NszyService;
|
|
use app\service\QyBasicService;
|
|
use app\service\QyBasicService;
|
|
use app\service\RyService;
|
|
use app\service\RyService;
|
|
|
|
+use app\service\ZdCpmcService;
|
|
use think\db\exception\DataNotFoundException;
|
|
use think\db\exception\DataNotFoundException;
|
|
use think\db\exception\DbException;
|
|
use think\db\exception\DbException;
|
|
use think\db\exception\ModelNotFoundException;
|
|
use think\db\exception\ModelNotFoundException;
|
|
@@ -73,4 +75,14 @@ class Index extends BaseController
|
|
public function getNszyByQydm():Json{
|
|
public function getNszyByQydm():Json{
|
|
return $this->JsonSucess(NszyService::selectNszyByQydm(getQydm()));
|
|
return $this->JsonSucess(NszyService::selectNszyByQydm(getQydm()));
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * @throws ModelNotFoundException
|
|
|
|
+ * @throws DataNotFoundException
|
|
|
|
+ * @throws DbException
|
|
|
|
+ * @Route("getJiangdou")
|
|
|
|
+ *
|
|
|
|
+ */
|
|
|
|
+ public function getJiangdou(){
|
|
|
|
+ return json(ZdCpmcService::getQydmBycpmc());
|
|
|
|
+ }
|
|
}
|
|
}
|