1234567891011121314151617181920212223 |
- <?php
- namespace app\api\controller\h5;
- use app\hander\HelpHander;
- use think\App;
- use think\Controller;
- use think\Db;
- class ShopUser extends Base
- {
- public function userInfo(){
- $ret = Db::name('wxuser')->where('id',$this->userId)->where('del',0)->find();
- if($ret){
- HelpHander::success($ret);
- }else{
- HelpHander::error('参数错误');
- }
- }
- }
|