|
|
@@ -182,7 +182,6 @@ class ApproachOrderForm extends Model
|
|
|
public function isStatus($attribute){
|
|
|
if($this->type && !in_array($this->type, \Yii::$app->params['orderStatus'])){
|
|
|
$this->addError($attribute, '订单状态类型错误');
|
|
|
- return ;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -234,6 +233,8 @@ class ApproachOrderForm extends Model
|
|
|
|
|
|
public function verifyPayUPOP(): ?bool
|
|
|
{
|
|
|
+ LoggerTool::info([$this->sn, $this->status, $this->note]);
|
|
|
+
|
|
|
if (!$this->validate()) {
|
|
|
LoggerTool::error(['UPOP - webhook: (validate).']);
|
|
|
return null;
|