* Fix die error for xuanxuan.

This commit is contained in:
Lufei
2022-11-04 17:17:49 +08:00
parent e0459b13cb
commit 35ef023439
+1 -1
View File
@@ -938,7 +938,7 @@ class baseControl
$data[$key] = str_replace('%22', '"', urlencode($value));
}
if(defined('RUN_MODE') and RUN_MODE == 'api')
if(defined('RUN_MODE') and in_array(RUN_MODE, array('api', 'xuanxuan')))
{
print(urldecode(json_encode($data)));
$response = helper::removeUTF8Bom(ob_get_clean());