Commit 40726340 by 孙香冬

no message

parent cebf2675
......@@ -251,5 +251,5 @@ export async function getAffiliationFuHuaQi() {
});
return {dataList}
return {result}
}
......@@ -8,7 +8,7 @@ import * as taskBiz from '../biz/fuHuqQi/task';
import * as monthBiz from '../biz/fuHuqQi/month';
import * as enterpriseBiz from '../biz/enterprise/enterprise';
import * as financingBiz from '../biz/enterprise/financing';
import { checkReqParam } from '../util/tools';
import { checkParamaterType, checkReqParam } from '../util/tools';
import { checkFuHuaQiToken } from '../middleware/user';
export function setRouter(httpServer) {
......@@ -308,7 +308,7 @@ async function submitTask(req, res) {
*/
async function updateMyDataInfo(req, res) {
let reqConf = {form: 'Object' };
let { form } = checkReqParam(reqConf, req.body);
let { form } = checkParamaterType(reqConf, req.body);
const Uscc = req.headers.uscc;
let result = await baseBiz.updateFuHuaQiBaseData(Uscc, form);
......
......@@ -213,6 +213,7 @@ export function extractData(conf, data) {
result[key] = moment(data[key]).format("YYYY-MM-DD");
}else {
result[key] = data[key];
if (!result[key]) result[key] = '';
}
}
return result;
......
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