12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace App\Generated\Controllers\V1_1;
- use App\Http\Services\V1_1\UserNoticeService;
- use App\Generated\V1_1\Messages\UserNotice\SysnoticeListMessage;
- use App\Generated\V1_1\Messages\UserNotice\SysnoticeDescMessage;
- use App\Http\Controllers\Controller;
- use DB;
- class UserNoticeController extends Controller
- {
- public $handler;
- public function __construct(UserNoticeService $handler)
- {
- $this->handler = $handler;
- }
- public function sysnoticeList(SysnoticeListMessage $message)
- {
- $message->validateInput();
- $this->handler->sysnoticeList($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function sysnoticeDesc(SysnoticeDescMessage $message)
- {
- $message->validateInput();
- $this->handler->sysnoticeDesc($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- }
|