mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
细节优化
This commit is contained in:
@ -56,13 +56,6 @@ class Message extends Base
|
||||
*/
|
||||
public function Delete()
|
||||
{
|
||||
// 是否ajax请求
|
||||
if(!IS_AJAX)
|
||||
{
|
||||
return $this->error('非法访问');
|
||||
}
|
||||
|
||||
// 开始处理
|
||||
$params = $this->data_request;
|
||||
$params['admin'] = $this->admin;
|
||||
return ApiService::ApiDataReturn(MessageService::MessageDelete($params));
|
||||
|
||||
Reference in New Issue
Block a user