You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
- /**
- * Created by PhpStorm.
- * User: nizongfeng
- * Date: 2021/11/23
- * Time: 17:23
- */
-
- namespace app\admin\service;
-
-
- use app\admin\dao\CfItemDao;
-
- class CfItemService
- {
- /**
- * 获取列表
- * @param $param
- * @return array
- */
- public function getList($param){
- $dao = new CfItemDao();
- return $dao->getList($param);
- }
-
- /**
- * 保存记录
- * @param $param
- * @return array
- */
- public function save($param){
- $dao = new CfItemDao();
- return $dao->save($param);
- }
-
- /**
- * 删除记录
- * @param $param
- * @return array
- */
- public function del($param){
- $dao = new CfItemDao();
- return $dao->del($param['id']);
- }
- }
|