diff --git a/app/api/controller/User.php b/app/api/controller/User.php index 0cf4a3a6..041d87bc 100755 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -333,7 +333,7 @@ class User extends Api ->where("shop_id",$shop_id) ->sum("change_amount"); $sql = "SELECT * FROM ls_account_log WHERE source_type = 409 and - change_type = 1 and shop_id = $shop_id and create_time between + change_type = 1 and shop_id = ".$shop_id." and create_time between $start_time and $end_time limit ".$p.",".$size; var_dump($sql);