示例#1
0
 /**
  * 内容排序
  */
 public function listsort()
 {
     foreach ($_POST['id'] as $key => $value) {
         \Model\Model::updateSortFromModel(MODULE, $key, $value);
     }
     if (!empty($_SERVER['HTTP_REFERER'])) {
         $url = $_SERVER['HTTP_REFERER'];
     } else {
         $url = "";
     }
     $this->success($GLOBALS['_LANG']['COMMON']['SORT_SUCCESS'], $url);
 }