pay debug

feat/task1-c-wallet
devil_gong 2019-01-08 14:30:12 +08:00
parent 736bdfe555
commit 9a0eb17517
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ class OrderService
return DataReturn('支付方式有误', -1);
}
// 配置信息
if(empty($payment[0]['config']))
{
return DataReturn('支付缺少配置', -1);
}
// 支付入口文件检查
$pay_checked = PaymentService::EntranceFileChecked($payment[0]['payment'], 'order');
if($pay_checked['code'] != 0)