public function get_unviewed_notify() { set_time_limit(0); $this->load->add_package_path(APPPATH.'third_party/wish/'); $this->load->library('noti_fetch_unviewed'); $this->load->model('wish_api_model'); $account_row = $this->wish_api_model->fetch_account_info_by_account(137); if($account_row == NULL) { echo "Account $account not found\n"; return; } $key = $account_row->token; $account_id = $account_row->id; if($key == NULL) { echo "Account $account not found\n"; return; } $response = $this->noti_fetch_unviewed ->set_key($key) ->set_start(0) ->set_limit(50) ->call(); echo '<pre>'; var_dump($response); }}
目前暂无任何回答
- 0 回答
- 0 关注
- 1017 浏览
添加回答
举报
0/150
提交
取消