Authored by 梁志锋

增加百度站长的校验文件

@@ -23,18 +23,18 @@ class Yohobuy @@ -23,18 +23,18 @@ class Yohobuy
23 // const YOHOBUY_URL = 'http://www.yohobuy.com/'; 23 // const YOHOBUY_URL = 'http://www.yohobuy.com/';
24 24
25 //java API 25 //java API
26 -// const API_URL = 'http://api.yoho.yohoops.org/';  
27 -// const API_URL2 = 'http://api.yoho.yohoops.org/';  
28 -// const SERVICE_URL = 'http://service.yoho.yohoops.org/';  
29 -// const YOHOBUY_URL = 'http://www.yohobuy.com/';  
30 -// const API_OLD = 'http://api2.open.yohobuy.com/';  
31 -// const SERVICE_NOTIFY = 'http://service.yoho.cn/'; 26 + const API_URL = 'http://api.yoho.yohoops.org/';
  27 + const API_URL2 = 'http://api.yoho.yohoops.org/';
  28 + const SERVICE_URL = 'http://service.yoho.yohoops.org/';
  29 + const YOHOBUY_URL = 'http://www.yohobuy.com/';
  30 + const API_OLD = 'http://api2.open.yohobuy.com/';
  31 + const SERVICE_NOTIFY = 'http://service.yoho.cn/';
32 32
33 // 测试环境 */ 33 // 测试环境 */
34 - const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' 34 + /*const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
35 const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; 35 const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
36 const YOHOBUY_URL = 'http://www.yohobuy.com/'; 36 const YOHOBUY_URL = 'http://www.yohobuy.com/';
37 - const SERVICE_NOTIFY = 'http://testapi.yoho.cn:28078/'; 37 + const SERVICE_NOTIFY = 'http://testapi.yoho.cn:28078/';*/
38 38
39 /* 预览环境 */ 39 /* 预览环境 */
40 // const API_URL = 'http://preapi.yoho.cn/'; 40 // const API_URL = 'http://preapi.yoho.cn/';
@@ -15,3 +15,7 @@ @@ -15,3 +15,7 @@
15 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 15 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16 proxy_set_header Accept-Encoding "gzip"; 16 proxy_set_header Accept-Encoding "gzip";
17 } 17 }
  18 +
  19 + location = /coupon/index {
  20 + return 301 /activity/coupon?$query_string;
  21 + }