Browse Source

充值券状态排序

DengTao 8 years ago
parent
commit
d82ad69436
1 changed files with 2 additions and 1 deletions
  1. 2 1
      www/protected/controllers/RechargeController.php

+ 2 - 1
www/protected/controllers/RechargeController.php

@@ -46,7 +46,8 @@ class RechargeController extends AdminController {
             $criteria->_id('==', $recharge_id);
         }
         if ($filter_status != 100){
-            $criteria->addCond('status','==',strval($filter_status));
+            $criteria->addCond('status','==',intval($filter_status));
+
         }
 
         if ($search != ''){