瀏覽代碼

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],
             [['ID'], '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']],
         ];
     }