|
|
|
@ -12,6 +12,7 @@ declare (strict_types=1); |
|
|
|
|
|
|
|
|
|
namespace app\store\controller\dealer; |
|
|
|
|
|
|
|
|
|
use app\common\enum\dealer\DealerUserEnum; |
|
|
|
|
use app\common\service\qrcode\Poster; |
|
|
|
|
use app\store\controller\Controller; |
|
|
|
|
use app\store\model\dealer\Referee as RefereeModel; |
|
|
|
@ -111,4 +112,15 @@ class User extends Controller |
|
|
|
|
$list = UserModel::getEngineer(); |
|
|
|
|
return $this->renderSuccess(compact('list')); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @notes:分销商身份 |
|
|
|
|
* @return Json |
|
|
|
|
* @author: wanghousheng |
|
|
|
|
*/ |
|
|
|
|
public function typeList(): Json |
|
|
|
|
{ |
|
|
|
|
$list = array_values(DealerUserEnum::data()); |
|
|
|
|
return $this->renderSuccess(compact('list')); |
|
|
|
|
} |
|
|
|
|
} |