Commit 63b9a8b8 authored by 李尚科's avatar 李尚科

tool fix

parent 631f7965
...@@ -94,7 +94,8 @@ class ToolController extends Controller { ...@@ -94,7 +94,8 @@ class ToolController extends Controller {
area_name: { type: 'string', required: true }, area_name: { type: 'string', required: true },
down_payment: { type: 'string', required: true }, down_payment: { type: 'string', required: true },
invest_payment: { type: 'string', required: true }, invest_payment: { type: 'string', required: true },
total_price: { type: 'string', required: true } total_price: { type: 'string', required: true },
prepare_time: { type: 'string', required: true }
} }
ctx.validate(rule, input_parmas); ctx.validate(rule, input_parmas);
if (!parseFloat(input_parmas.invest_payment)) { if (!parseFloat(input_parmas.invest_payment)) {
......
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