Commit 15aadc944879284ee7b339f893d7ca3b2c80a4be

Authored by 程雨佳
1 parent 94015a96

提交配置文件

phpapi/Common/config.php 0 → 100644
  1 +<?php
  2 +
  3 +return [
  4 + 'driver' => 'mysql',
  5 + 'host' => 'sh-cdb-qxi8o7za.sql.tencentcdb.com',
  6 + 'port' => 62140,
  7 + 'dbname' => 'party',
  8 + 'user' => 'root',
  9 + 'pass' => 'Wx0EEVsw7O8w6b9i',
  10 + 'key' => '7553f1d152a71e6d2b7faa8ef30e2ea7',
  11 + 'longitude' => '108.907470703125',
  12 + 'latitude' => '34.24637222290039',
  13 + //'admin' => 'user',
  14 + 'admin' => 'ee11cbb19052e40b07aac0ca060c23ee',
  15 + 'distance' => 1000
  16 +];
0 \ No newline at end of file 17 \ No newline at end of file
phpapi/apicp.SignIn.php
@@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
8 /** 8 /**
9 * 通过姓名签到 9 * 通过姓名签到
10 */ 10 */
11 - echo "1";exit;  
12 11
13 include "Common/JsonResponse.php"; 12 include "Common/JsonResponse.php";
14 include "Common/mysqlHelper.php"; 13 include "Common/mysqlHelper.php";
test.php
1 <?php 1 <?php
2 -echo phpinfo();  
3 -exit; 2 +
4 $ids = []; 3 $ids = [];
5 for ($i=100;$i<=230;$i++) { 4 for ($i=100;$i<=230;$i++) {
6 $ids[] = $i; 5 $ids[] = $i;