member.php 474 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * APP会员
  4. *
  5. *
  6. ***/
  7. defined('InShopNC') or exit('Access Invalid!');
  8. class memberControl{
  9. public function __construct(){
  10. require_once(BASE_PATH.'/framework/function/client.php');
  11. }
  12. public function infoOp(){
  13. if (!empty($_GET['uid'])){
  14. $member_info = nc_member_info($_GET['uid'],'uid');
  15. }elseif(!empty($_GET['user_name'])){
  16. $member_info = nc_member_info($_GET['user_name'],'user_name');
  17. }
  18. return $member_info;
  19. }
  20. }