无关系不能编辑
This commit is contained in:
@@ -385,6 +385,9 @@ class Room extends adminApi
|
||||
*/
|
||||
public function edit_relation(){
|
||||
$relation_id = input('relation_id', '');
|
||||
if($relation_id == 0){
|
||||
return V(0,'此关系不允许修改');
|
||||
}
|
||||
$name = input('name', '');
|
||||
$type = input('type', '');
|
||||
$is_open_movie = input('is_open_movie', 1);
|
||||
|
||||
Reference in New Issue
Block a user