ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
#### 1.视图展示 文件路径:\shop\views\default\Seller\IndexCtl\index.php ~~~ <div class="basic-info"> 店铺基本信息展示 </div> ~~~ #### 2.数据获取 接口地址:index.php?ctl=Seller_Index&met=index&typ=e 接口文件:\shop\controllers\Seller\IndexCtl.php 控制器:Seller_IndexCtl 方法:index() ~~~ //获取当前登录用户的shop_id $shop['shop_id'] = Perm::$shopId; //若用户开启店铺,则根据shop_id查找店铺信息 if ($shop['shop_id']) { $shop_base = $this->shopBaseModel->getBaseOneList($shop); . . . } ~~~