소스 검색

修改沙盒环境判断

locky 1 년 전
부모
커밋
f0d98789b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/InAppPurchaseController.py

+ 1 - 1
Controller/InAppPurchaseController.py

@@ -15,7 +15,7 @@ from Object.AliSmsObject import AliSmsObject
 from Object.RedisObject import RedisObject
 from Service.CommonService import CommonService
 
-env = itunesiap.env.sandbox if CONFIG_INFO != CONFIG_TEST else itunesiap.env.production
+env = itunesiap.env.sandbox if CONFIG_INFO == CONFIG_TEST else itunesiap.env.production
 
 
 class InAppPurchaseView(View):