You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace App\Controller\v3;
use App\Service\v3\Interfaces\MiniprogramServiceInterface;use Hyperf\Di\Annotation\Inject;use Hyperf\Validation\ValidationException;
class MiniSubscribeMsgController extends \App\Controller\BaseController{
/** * @Inject * @var MiniprogramServiceInterface */ protected $miniprogramService;
public function getTemplates() { $forUserType = $this->request->input('for_user_type');
$templates = $this->miniprogramService->getSubscribeMessageTempList($forUserType); return $this->success(['templates' => $templates]); }
}
|