Commit 2545d96b by 孙龙

优化

parent a1864abe
Showing with 2 additions and 2 deletions
......@@ -45,8 +45,8 @@ Class ApiController extends Controller
foreach($list as &$item){
if(intval($item["print_num"]) <= 0){
$item["print_num"] = 1;
}elseif(intval($item["print_num"]) >= 100){
$item["print_num"] = 100;//单个明细限制100
}elseif(intval($item["print_num"]) >= 50){
$item["print_num"] = 50;//单个明细限制100
}
}
if(count($list) > 150){//所有型号数限制150
......
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 sign in to comment