Authored by yyq

bug

@@ -238,7 +238,7 @@ class PaymentModel @@ -238,7 +238,7 @@ class PaymentModel
238 $fraudData = IndexData::getResourceData(self::FRAUD_CONTENT_CODE); 238 $fraudData = IndexData::getResourceData(self::FRAUD_CONTENT_CODE);
239 239
240 if (!empty($fraudData['data'])) { 240 if (!empty($fraudData['data'])) {
241 - foreach ($fraudData['data']) as $info) { 241 + foreach ($fraudData['data'] as $info) {
242 if ($info['template_name'] === 'text' && !empty($info['data']['text'])) { 242 if ($info['template_name'] === 'text' && !empty($info['data']['text'])) {
243 $result = $info['data']['text']; 243 $result = $info['data']['text'];
244 } 244 }