course details changes done
This commit is contained in:
parent
8ed61d19e7
commit
b8e23b7784
@ -39,7 +39,7 @@ class Fees_Status_Controller extends REST_Controller {
|
||||
$this->methods['getUniversityCourseForFees_post']['limit'] = 1000; // 1000 requests per hour per user/key
|
||||
$this->methods['getFeesStructureAssign_post']['limit'] = 1000; // 1000 requests per hour per user/key
|
||||
$this->methods['setFeesForStudent_post']['limit'] = 1000; // 1000 requests per hour per user/key
|
||||
$this->methods['sendStudentNotification_post']['limit'] = 2000; // 2000 requests per hour per user/key
|
||||
// $this->methods['sendStudentNotification_post']['limit'] = 2000; // 2000 requests per hour per user/key
|
||||
|
||||
|
||||
// load the model
|
||||
@ -266,24 +266,25 @@ class Fees_Status_Controller extends REST_Controller {
|
||||
* send notification for student
|
||||
* created by kms
|
||||
* */
|
||||
public function sendStudentNotification_post(){
|
||||
public function sendStudentNotification_get(){
|
||||
|
||||
$sendMessage = $this->Fees_model->studentNotification();
|
||||
|
||||
if ($sendMessage)
|
||||
{
|
||||
$this->response([
|
||||
echo "Success";
|
||||
/* $this->response([
|
||||
'message' => 'Done!',
|
||||
'status' => REST_Controller::HTTP_OK
|
||||
], REST_Controller::HTTP_OK); // NOT_FOUND (404) being the HTTP response code
|
||||
], REST_Controller::HTTP_OK); // NOT_FOUND (404) being the HTTP response code*/
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set the response and exit
|
||||
$this->response([
|
||||
/* $this->response([
|
||||
'message' => 'No records found!',
|
||||
'status' => REST_Controller::HTTP_NOT_FOUND
|
||||
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
|
||||
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user