算法名称:Front end correction code

输入:String data.temp, data.tmid, data.xh, data.userid

输出:param

步骤1:

for (i=0;i

步骤2:

ifdata.temp[0].array_index[i]===1 then

步骤3:

continue

步骤4:

else

步骤5:

"data.temp.array[i].xszyid" and "data.temp.array[I].id" append to "all_score" and "all_content", respectively

步骤6:

Pass "data.tmed", "all_score", "all_content", "data.xh", "data.userid" and a function to the API named"submit_pjpy".

步骤7:

return to previous page