mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-04 03:06:39 +08:00
debugger
This commit is contained in:
parent
49abd63ff9
commit
47c5c1b785
@ -120,16 +120,22 @@ public class GoodController {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
String result = "";
|
||||
try{
|
||||
System.out.println("productQueryEntity:"+ productQueryEntity.getPetType());
|
||||
long startTime = System.currentTimeMillis();
|
||||
String result = goodService.brandQuery(productQueryEntity);
|
||||
result = goodService.brandQuery(productQueryEntity);
|
||||
long acceptTime = System.currentTimeMillis() ;
|
||||
long elapsedTime = acceptTime - startTime;
|
||||
//记录服务响应时间
|
||||
addOperatreFullData("royalcanin/h5/product/query",result.length()+"", startTime,elapsedTime,acceptTime,result.length() >0 ?"1":"0",result.length() >0 ?"SUCCESS":"FAIL");
|
||||
return result;
|
||||
}catch (Exception e){
|
||||
System.out.println(e.getMessage());
|
||||
}finally {
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ApiOperation(value = "查询商品信息", notes = "查询商品信息")
|
||||
|
Loading…
Reference in New Issue
Block a user