初始上传
This commit is contained in:
37
app/model/stat/GoodsCartStat.php
Executable file
37
app/model/stat/GoodsCartStat.php
Executable file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
|
||||
namespace app\model\stat;
|
||||
|
||||
use app\model\BaseModel;
|
||||
use app\model\system\Stat;
|
||||
|
||||
/**
|
||||
* 购物车统计
|
||||
* @author Administrator
|
||||
*
|
||||
*/
|
||||
class GoodsCartStat extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 用于订单(同与订单支付后调用)
|
||||
* @param $params
|
||||
* @return array
|
||||
*/
|
||||
public function addGoodsCartStat($params)
|
||||
{
|
||||
|
||||
$stat_model = new Stat();
|
||||
|
||||
$result = $stat_model->addShopStat($params);
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user