You've already forked qlg.tsgz.moe
购物车分类
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user