Commit 1f90ddf6 authored by 姜登's avatar 姜登

input_params

parent b29eb37e
Pipeline #22014 passed with stage
in 2 seconds
......@@ -36,7 +36,7 @@ class AccountController extends Controller {
},
}
ctx.validate(rule, input_params);
if (start_date > end_date) {
if (input_params.start_date > input_params.end_date) {
ctx.throw(400, '起始时间不能大于结束时间');
}
const analyse_info = await service.userDetail.analyseInfo(input_params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment