|
|
@@ -9,40 +9,40 @@
|
|
|
// | Author: laravel开发员 <laravel.qq.com>
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
-namespace App\Http\Controllers;
|
|
|
+namespace App\Http\Controllers\Admin;
|
|
|
|
|
|
-use App\Services\NoticeService;
|
|
|
+use App\Services\Common\PositionService;
|
|
|
|
|
|
/**
|
|
|
- * 通知公告-控制器
|
|
|
+ * 岗位管理-控制器
|
|
|
* @author laravel开发员
|
|
|
* @since 2020/11/11
|
|
|
- * Class NoticeController
|
|
|
+ * Class PositionController
|
|
|
* @package App\Http\Controllers
|
|
|
*/
|
|
|
-class NoticeController extends Backend
|
|
|
+class PositionController extends Backend
|
|
|
{
|
|
|
/**
|
|
|
* 构造函数
|
|
|
* @author laravel开发员
|
|
|
* @since 2020/11/11
|
|
|
- * NoticeController constructor.
|
|
|
+ * PositionController constructor.
|
|
|
*/
|
|
|
public function __construct()
|
|
|
{
|
|
|
parent::__construct();
|
|
|
- $this->service = new NoticeService();
|
|
|
+ $this->service = new PositionService();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 设置置顶
|
|
|
+ * 获取岗位列表
|
|
|
* @return mixed
|
|
|
- * @since 2020/11/21
|
|
|
+ * @since 2020/11/11
|
|
|
* @author laravel开发员
|
|
|
*/
|
|
|
- public function setIsTop()
|
|
|
+ public function getPositionList()
|
|
|
{
|
|
|
- $result = $this->service->setIsTop();
|
|
|
+ $result = $this->service->getPositionList();
|
|
|
return $result;
|
|
|
}
|
|
|
|