27 lines
516 B
PHP
27 lines
516 B
PHP
<?php
|
|
|
|
|
|
|
|
namespace app\controller\api\user;
|
|
|
|
use think\App;
|
|
use crmeb\basic\BaseController;
|
|
use app\common\repositories\user\FeedBackCategoryRepository as repository;
|
|
|
|
class FeedBackCategory extends BaseController
|
|
{
|
|
|
|
protected $repository;
|
|
|
|
public function __construct(App $app, repository $repository)
|
|
{
|
|
parent::__construct($app);
|
|
$this->repository = $repository;
|
|
}
|
|
|
|
public function lst()
|
|
{
|
|
return app('json')->success($this->repository->getFormatList(0,1));
|
|
}
|
|
}
|