mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-22 17:35:52 +00:00
rename saveAll
This commit is contained in:
parent
6a851b5ba6
commit
c85967ca75
@ -47,9 +47,13 @@ class SmsController extends Controller {
|
||||
return new JSONResponse(array("status" => false, "msg" => $this->errorMsg));
|
||||
}
|
||||
|
||||
$this->smsMapper->saveAll($this->userId, $smsDatas);
|
||||
$this->smsMapper->writeToDB($this->userId, $smsDatas);
|
||||
return new JSONResponse(array("status" => true, "msg" => "OK"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
|
||||
private function checkPushStructure($smsCount, $smsDatas) {
|
||||
if ($smsCount != count($smsDatas)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user