|
@@ -267,10 +267,10 @@ class Topicdongtai extends Api
|
|
|
->field('dt.*,user.nickname,user.avatar,user.gender,user.birthday,user.idcard_status,user.real_status,user.is_hideaddress,th.name,uw.vip_endtime,uw.vip_level,ur.nickname_remark')
|
|
|
->where('dt.id',$id)->find();
|
|
|
if (!$info) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
if ($info['status'] != 0) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
|
|
|
$info = info_domain_image($info,['images','avatar']);
|
|
@@ -317,10 +317,10 @@ class Topicdongtai extends Api
|
|
|
}
|
|
|
$info = Db::name('topic_dongtai')->find($id);
|
|
|
if (!$info) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
if ($info['status'] != 0) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
|
|
|
$where = [
|
|
@@ -693,10 +693,10 @@ class Topicdongtai extends Api
|
|
|
//查询动态
|
|
|
$dongtai_info = Db::name('topic_dongtai')->find($dt_id);
|
|
|
if (!$dongtai_info) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
if ($dongtai_info['status'] != 0) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
$user_id = $dongtai_info['user_id'];
|
|
|
|
|
@@ -837,7 +837,7 @@ class Topicdongtai extends Api
|
|
|
}
|
|
|
$info = Db::name('topic_dongtai')->find($id);
|
|
|
if (!$info) {
|
|
|
- $this->error('您的网络开小差啦~');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
if ($info['user_id'] != $this->auth->id) {
|
|
|
$this->error('您的网络开小差啦~');
|
|
@@ -857,7 +857,7 @@ class Topicdongtai extends Api
|
|
|
|
|
|
$check = Db::name('topic_dongtai')->where('id',$dt_id)->find();
|
|
|
if(empty($check)){
|
|
|
- $this->error('不存在的动态');
|
|
|
+ $this->error('没有找到该动态,或许它被删除了');
|
|
|
}
|
|
|
|
|
|
$data['dt_id'] = $dt_id;
|