...
|
...
|
@@ -110,4 +110,32 @@ class MoneyController extends Controller |
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 消息列表
|
|
|
* @description
|
|
|
* @author panhaowen
|
|
|
* @url /portal/money/messageIndex
|
|
|
* @method POST
|
|
|
*/
|
|
|
public function messageIndex()
|
|
|
{
|
|
|
$data=Db::name('message')->select();
|
|
|
$this->success('获取数据成功',$data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 消息删除
|
|
|
* @description
|
|
|
* @author panhaowen
|
|
|
* @url /portal/money/messageDelete
|
|
|
* @param name:id type:int require:1 desc:系统消息id
|
|
|
* @method POST
|
|
|
*/
|
|
|
public function messageDelete()
|
|
|
{
|
|
|
$param=$this->request->param();
|
|
|
$data=Db::name('message')->where('id',$param['id'])->delete();
|
|
|
$this->success('操作成功');
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|