public function sttRegistPartnerMonthAction() { $response = array("status" => 0, "result" => array()); $pkey = $this->request->getQuery("pkey", null, false); $month = $this->request->getQuery("month", null, false); $year = $this->request->getQuery("year", null, false); $payment_obj = new \HaiQuan\Backend\Models\Character(); $payment = $payment_obj->monthNruByPID($month, $year, $pkey)->toArray(); $response["status"] = 1; $response["result"] = $payment; echo json_encode($response); exit; }