소스 검색

用户日报

lizhen_gitee 1 년 전
부모
커밋
1538653657
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/api/controller/Userwallet.php

+ 1 - 1
application/api/controller/Userwallet.php

@@ -31,7 +31,7 @@ class Userwallet extends Api
 //        $log_type = [21,22,23,54,41,61,63];
         $log_type = [21,22,23,24,32,33,41,42];
         $change_value = Db::name('user_gold_log')
-            ->where('createtime','IN',[$starttime,$endtime])
+            ->where('createtime','BETWEEN',[$starttime,$endtime])
             ->where('user_id',$this->auth->id)
             ->where('money_type','jewel')
             ->where('log_type','IN',$log_type)