plugins/exchange/controllers/mall/RecordController.php | ●●●●● patch | view | raw | blame | history | |
plugins/exchange/forms/exchange/validate/BasicModel.php | ●●●●● patch | view | raw | blame | history |
plugins/exchange/controllers/mall/RecordController.php
@@ -15,6 +15,7 @@ { public function actionShowInfo() { \Yii::warning('h卡号02:'); if (\Yii::$app->request->isAjax) { $form = new RecordForm(); $form->code = \Yii::$app->request->get('code'); plugins/exchange/forms/exchange/validate/BasicModel.php
@@ -55,11 +55,14 @@ public function setCodeModel3($card_no) { \Yii::warning('h卡号30:'.$card_no); $this->codeModel = ExchangeCode::find()->where([ // 'code' => $code, 'card_no' => $card_no, 'mall_id' => $this->mall_id, ])->one(); \Yii::info('h卡号:' . $card_no); \Yii::error('卡实体:' . $this->codeModel); } public function setLibraryModel($library_id)