作者 liyuhang

gx

@@ -135,12 +135,10 @@ class BlogLogic extends BaseLogic @@ -135,12 +135,10 @@ class BlogLogic extends BaseLogic
135 */ 135 */
136 public function edit_seo(){ 136 public function edit_seo(){
137 $this->param['operator_id'] = $this->user['id']; 137 $this->param['operator_id'] = $this->user['id'];
138 - $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); 138 + $rs = $this->edit($this->param,['id'=>$this->param['id']]);
139 if($rs === false){ 139 if($rs === false){
140 $this->fail('error'); 140 $this->fail('error');
141 } 141 }
142 - //清除缓存  
143 - Common::del_user_cache($this->model->getTable(),$this->param['id']);  
144 return $this->success(); 142 return $this->success();
145 } 143 }
146 /** 144 /**
@@ -186,7 +184,7 @@ class BlogLogic extends BaseLogic @@ -186,7 +184,7 @@ class BlogLogic extends BaseLogic
186 } 184 }
187 185
188 /** 186 /**
189 - * @name :逻辑删除 187 + * @name :删除
190 * @return void 188 * @return void
191 * @author :liyuhang 189 * @author :liyuhang
192 * @method 190 * @method
@@ -155,6 +155,7 @@ class NewsLogic extends BaseLogic @@ -155,6 +155,7 @@ class NewsLogic extends BaseLogic
155 } 155 }
156 return $this->success(); 156 return $this->success();
157 } 157 }
  158 +
158 /** 159 /**
159 * @name :获取详情 160 * @name :获取详情
160 * @return array 161 * @return array