function clistorders() { $status = parent::_listorders($this->model_cat); if ($status) { $this->success("排序更新成功!"); } else { $this->error("排序更新失败!"); } }
/** * 排序 */ public function listorders() { $model = D("WxMenu"); $status = parent::_listorders($model); if ($status) { $this->success("排序更新成功!"); } else { $this->error("排序更新失败!"); } }