| #942 | if(isset($data['uid']) && $data['uid']){ |
| #943 | $user = $this->user->get($data['uid']); |
| #944 | if($user && $user['contents'] > 0) { |
| #945 | $user['contents']--; |
| #946 | $this->user->update($user); |
| #947 | } |
| #948 | } |
| #949 | |
| #950 | //删除内容 |
| #951 | $this->cms_content_data->delete_cms_content_data($id, $table); |