<?php

namespace app\admin\controller\company;

use app\admin\controller\AuthController;
use app\admin\model\order\StoreOrder as StoreOrderModel;
use app\admin\model\user\User as UserModel;
use app\admin\model\user\UserGroup;

use app\models\system\SystemStoreMember;
use crmeb\services\{JsonService, JsonService as Json, UtilService as Util, FormBuilder as Form};
use crmeb\traits\CurdControllerTrait;
use think\facade\Route as Url;
use app\admin\model\system\{SystemAttachment, ShippingTemplates, SystemUserLevel};


/**
 * 产品管理
 * Class StoreProduct
 * @package app\admin\controller\store
 */
class User extends AuthController
{

    use CurdControllerTrait;
    /**
     * @return mixed
     */
    public function index()
    {
        return $this->fetch();
    }
    public function lst()
    {
        $where = Util::getMore(
        [
            ['limit',10],
            ['page',1],
            ['key',''],
        ],$this->request);
        $where['store_id'] = $this->adminInfo['store_id'];
        return Json::successlayui(SystemStoreMember::lst($where));
    }
}
