最新服务器上的版本,以后用这个
kk
wangzhenxin
2023-04-17 ef4a66caf4b9700afbde9a0f89604f8430006e37
kk
2 files modified
4 ■■■■ changed files
plugins/exchange/controllers/mall/RecordController.php 1 ●●●● patch | view | raw | blame | history
plugins/exchange/forms/exchange/validate/BasicModel.php 3 ●●●●● 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)