Commit c2f32912812eec48b63e30249b8488fa355b3045

Authored by 程雨佳
1 parent 2aff27c5

解决跨域

Showing 1 changed file with 2 additions and 0 deletions
phpapi/apicp.DelLottery.php
... ... @@ -2,6 +2,8 @@
2 2 /**
3 3 * 删除中奖的用户
4 4 */
  5 + header('Access-Control-Allow-Origin:*');
  6 + header("Access-Control-Allow-Methods:GET,POST");
5 7  
6 8 include "Common/JsonResponse.php";
7 9 include "Common/mysqlHelper.php";
... ...