购物车分类

This commit is contained in:
2019-09-22 22:10:04 +08:00
parent bb9bd68c7f
commit df11660e6a
7 changed files with 206 additions and 14 deletions

View File

@ -4,6 +4,7 @@
*/
use think\Db;
use wstmart\app\model\Base;
use wstmart\common\model\Aliyunoss;
const WST_ADDON_PATH = './addons/';
@ -2077,3 +2078,20 @@ function WSTShopOrderMenus(){
}
return $orderMenus;
}
function get_my_id(){
return (int)session('WST_USER.userId');
}
function pd(...$data){
echo "<pre>";
if(empty($data)){
print_r(1);
}else{
foreach ($data as $datum){
print_r($datum);
}
}
die;
}