* 联系我们
*/
public function contactUs(){
$shopId = (int)input("param.shopId/d");
hook("homeBeforeGoShopHome",["shopId"=>$shopId,"params"=>input()]);
$s = model('shops');
$data['shop'] = $s->getShopInfo($shopId);
$this->assign('data',$data);
$templateHtml=$data['shop']["shopHomeTheme"];
$templateHtml = str_replace("index","contact_us",$templateHtml);
return $this->fetch($templateHtml);
}
public function qrcode(){
$shopId = (int)input("param.shopId/d");
require Env::get('root_path') . 'extend/phpqrcode/phpqrcode.php';
$data = get_http_type().'://'.$_SERVER['SERVER_NAME'].'/mshop-'.$shopId.'.html';
$level = 'L';