0
0

ShopUser.php 409 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\api\controller\h5;
  3. use app\hander\HelpHander;
  4. use think\App;
  5. use think\Controller;
  6. use think\Db;
  7. class ShopUser extends Base
  8. {
  9. public function userInfo(){
  10. $ret = Db::name('wxuser')->where('id',$this->userId)->where('del',0)->find();
  11. if($ret){
  12. HelpHander::success($ret);
  13. }else{
  14. HelpHander::error('参数错误');
  15. }
  16. }
  17. }