Skip to content

Commit

Permalink
Merge pull request assimon#113 from Julyssn/master
Browse files Browse the repository at this point in the history
代充订单附加必填输入框问题
  • Loading branch information
assimon authored Oct 27, 2020
2 parents 89a3a23 + 82f10c1 commit 302a747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public function formatChargeInput(array $requestData)
{
$otherIpuAll = $this->productService->formatChargeInput($this->product['other_ipu']);
foreach ($otherIpuAll as $value) {
if ($value['rule'] && empty($data[$value['field']])) {
if ($value['rule'] && empty($requestData[$value['field']])) {
throw new AppException("{$value['desc']}" . __('prompt.charge_not_null'));
}
$this->orderInfo['other_ipu'] .= $value['desc'].':'.$requestData[$value['field']].PHP_EOL;
Expand Down

0 comments on commit 302a747

Please sign in to comment.