37 lines
997 B
PHP
37 lines
997 B
PHP
<?php
|
|
/**
|
|
* ThinkShop商城系统 - 团队十年电商经验汇集巨献!
|
|
* =========================================================
|
|
* Copy right 2019-2029 成都云之牛科技有限公司, 保留所有权利。
|
|
* ----------------------------------------------
|
|
* 官方网址: https://www.cdcloudshop.com
|
|
|
|
* =========================================================
|
|
*/
|
|
|
|
namespace addon\store\store\controller;
|
|
|
|
use addon\store\model\StoreMember as StoreMemberModel;
|
|
|
|
/**
|
|
* 门店首页
|
|
* @author Administrator
|
|
*
|
|
*/
|
|
class Index extends BaseStore
|
|
{
|
|
public function Index()
|
|
{
|
|
var_dump(666);
|
|
$store_member_model = new StoreMemberModel();
|
|
$member_count = $store_member_model->getMemberCount(
|
|
[
|
|
[ 'store_id', '=', $this->store_id ]
|
|
]
|
|
);
|
|
var_dump($member_count);die;
|
|
$this->assign('member_count', $member_count[ 'data' ]);
|
|
return $this->fetch("index/index", [], $this->replace);
|
|
}
|
|
|
|
} |