validate()) return [ 'code' => 1, 'msg' => $this->getErrorSummary(false)[0], ]; try{ $mchList = $this->getMchListData(); if(isset($mchList['code']) && $mchList['code'] == 1){ return $mchList; } }catch(\Exception $e){ return [ 'code'=>1, 'line' => $e->getLine(), 'file' => $e->getFile(), 'msg' => $e->getMessage() ]; } return [ 'code' => 0, 'msg' => 'OOKK', 'data' => [ 'pay_type_list' => $this->getPayTypeList(), 'address' => $this->address, 'mch_list' => $mchList, 'integral'=>$this->integral, 'goods_card_list' => $this->goodsCardList(), 'template_id' => NoticeAction::getSendTamplateId(['order_pay', 'order_submit', 'order_send']) ], ]; } }