You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 rivejä
592 B

  1. <?php
  2. /**
  3. * 分销客人通过扫描酒店的二维码进行下单
  4. */
  5. $user_id = $_COOKIE['user_id'];
  6. if( isset($_COOKIE['top_org_id']) && $_COOKIE['top_org_id'] != 0 && $_COOKIE['top_org_id'] != "" ) {
  7. $top_org_id = $_COOKIE['top_org_id'];
  8. } else {
  9. $top_org_id = $_COOKIE['org_id'];
  10. }
  11. $url = "http://wx.zhizhuchuxing.com/wechat/WxPay/phprcode_fx/qrcode.php?data=http://sfx.zhizhuchuxing.com/wchat_fx/login2.html?user_id=" . $user_id . "&top_org_id=" . $top_org_id . "&login_type=1";
  12. $json['code'] = 0;
  13. $json['info'] = '成功';
  14. $json['url'] = $url;
  15. echo json_encode($json);
  16. ?>