input("code"); $prefix = "W".date("ymd")."000000"; if (strlen($code)<13)$code = substr($prefix,0,13-strlen($code)).$code; $result = app("BatchService")->repairBatch($code); $this->response($result, 200 ,$result ? '请求成功' : '修复失败,信息缺失'); } }