AdminShopController.php 486 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace shop\controllers;
  3. use biz\admin\services\AdminShopService;
  4. use common\components\jwt;
  5. use common\components\util;
  6. use Yii;
  7. use yii\web\Controller;
  8. class AdminShopController extends BaseController
  9. {
  10. //添加管理员 shish 2020.4.16
  11. public function actionAdd()
  12. {
  13. util::complete();
  14. }
  15. //创建管理员关联数据准备 shish 2020.4.17
  16. public function actionPrepareBind()
  17. {
  18. $post = Yii::$app->request->post();
  19. AdminShopService::prepareBindAdmin();
  20. }
  21. }