seNmuhk.php 420 B

12345678910111213141516
  1. <?php
  2. include_once("../../untils/conn.php"); // 引入数据库连接配置文件
  3. // 查询SQL语句
  4. $sql = "SELECT * FROM config_api WHERE groups = 'haokeyun'";
  5. // 执行查询
  6. $result = mysqli_query($con, $sql);
  7. // 获取结果
  8. $row = mysqli_fetch_assoc($result);
  9. $userid = $row['userid'];
  10. $token = $row['token'];
  11. $goodsCode = $_POST['haokaid'];
  12. $searchValue = $_POST['searchValue'];
  13. $province ='50';
  14. $city = '501';