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.
|
- <?php
- /**
- * 分销客人通过扫描酒店的二维码进行下单
- */
- $user_id = $_COOKIE['user_id'];
-
- if( isset($_COOKIE['top_org_id']) && $_COOKIE['top_org_id'] != 0 && $_COOKIE['top_org_id'] != "" ) {
- $top_org_id = $_COOKIE['top_org_id'];
- } else {
- $top_org_id = $_COOKIE['org_id'];
- }
-
- $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";
-
- $json['code'] = 0;
- $json['info'] = '成功';
- $json['url'] = $url;
- echo json_encode($json);
- ?>
|