Browse Source

修改沙盒环境判断

locky 1 year ago
parent
commit
f0d98789b3
1 changed files with 1 additions and 1 deletions
  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):