购物车分类

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

@ -0,0 +1,16 @@
<?php
namespace wstmart\common\model;
/**
*
*/
class UserLevel extends Base{
public function getShareNum($where){
return $this->where($where)->count();
}
public function getField($where,$field='pid'){
return $this->where($where)->value($field);
}
public function getInfo($where,$field='pid'){
return $this->where($where)->field($field)->find();
}
}