12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- namespace App\Generated\Controllers\V1_1;
- use App\Generated\V1_1\Messages\Share\LikeMeMessage;
- use App\Generated\V1_1\Messages\Share\PairApplyListShareHelpMessage;
- use App\Generated\V1_1\Messages\Share\PairVipCheckMessage;
- use App\Http\Controllers\Controller;
- use App\Generated\V1_1\Messages\Share\PairGetMessage;
- use App\Generated\V1_1\Messages\Share\LikeMeCheckMessage;
- use App\Http\Services\V1_1\ShareService;
- use DB;
- use App\Generated\V1_1\Messages\Share\LikeMeHistoryMessage;
- class ShareController extends Controller
- {
- public $handler;
- public function __construct(ShareService $handler)
- {
- $this->handler = $handler;
- }
- public function pairApplyListShareHelp(PairApplyListShareHelpMessage $message)
- {
- $message->validateInput();
- $this->handler->pairApplyListShareHelp($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function likeMeHistory(LikeMeHistoryMessage $message)
- {
- $message->validateInput();
- $this->handler->likeMeHistory($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function likeMeCheck(LikeMeCheckMessage $message)
- {
- $message->validateInput();
- $this->handler->likeMeCheck($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function likeMe(LikeMeMessage $message)
- {
- $message->validateInput();
- $this->handler->likeMe($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function pairVipCheck(PairVipCheckMessage $message)
- {
- $message->validateInput();
- $this->handler->pairVipCheck($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- public function pairGet(PairGetMessage $message)
- {
- $message->validateInput();
- $this->handler->pairGet($message);
- $message->validateOutput();
- return $message->getResponse();
- }
- }
|