소스 검색

feature/EK-3322

ryan 1 개월 전
부모
커밋
ea702e59d1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      common/models/Recharge.php

+ 2 - 2
common/models/Recharge.php

@@ -87,8 +87,8 @@ class Recharge extends \common\components\ActiveRecord {
             [['REMARK'], 'string', 'max' => 4000],
             [['REMARK'], 'string', 'max' => 4000],
             [['ID'], 'unique'],
             [['ID'], 'unique'],
             [['SN'], 'unique'],
             [['SN'], 'unique'],
-            ['rechargeType', 'string', 'max' => 50], // 限制长度
-            ['rechargeType', 'in', 'range' => ['Cash', 'Credit Card', 'Direct Banking']],
+            ['TYPE', 'string', 'max' => 50], // 限制长度
+            ['TYPE', 'in', 'range' => ['Cash', 'Credit Card', 'Direct Banking']],
         ];
         ];
     }
     }