버튼 추가
Some checks failed
Close Pull Request / main (pull_request_target) Has been cancelled

This commit is contained in:
yangsh
2026-01-12 15:53:12 +09:00
parent 7a889170b6
commit b164c5b409
4 changed files with 130 additions and 0 deletions

View File

@@ -109,4 +109,27 @@ class M710 extends BaseController
$e->getPrevious()->getTraceAsString();
}
}
// 전송 api
public function sendApi()
{
try {
$type = $this->request->getPost('type');
$this->model->updateSendApi($type);
return $this->response->setJSON([
'code' => '0',
'msg' => 'success',
]);
} catch (\Exception $e) {
return $this->response->setJSON([
'code' => '9',
'msg' => $e->getMessage(),
]);
}
}
}