Commit a13ff3f6 authored by hujun's avatar hujun

公告修改

parent 5f7a4755
......@@ -83,7 +83,7 @@ class CellPhone extends Basic
$phone_x = $aliYunPhone->getAliYunPhone($phone_a, $phone_b, $is_privacy); //获取未绑定隐号
if ($phone_x) {
if (empty($phone_x)) {
$this->code = 102;
$this->msg = '号码使用完,请联系运营人员。';
return $this->response($this->code, $this->msg, $this->data);
......
......@@ -33,8 +33,8 @@ class Feed extends Basic
$where_0['type'] = 1;
$where_1['status'] = 0;
$where_1['type'] = 0;
$data[0] = $push->getFeedInfo($field, $where_0, 'id desc');
$data[1] = $push->getFeedInfo($field, $where_1, 'id desc');
$data[] = $push->getFeedInfo($field, $where_0, 'id desc');
$data[] = $push->getFeedInfo($field, $where_1, 'id desc');
} else {
//列表页
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
......
......@@ -92,7 +92,8 @@ class Notice extends Basic
$service_push = new PushMessageService();
$url = 'app/dist/index.html#/announcementDetails?id='.$this->m_push->id;
$service_push->pushAll($data['title'], $data['content'], $url);
$this->m_push->editData(['link'=> CURRENT_URL . $url], $this->m_push->id);
// $service_push->pushAll($data['title'], $data['content'], $url);
return $this->response(200, '新增成功!');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment