Authored by mali

加进出口日主

... ... @@ -121,7 +121,11 @@ public class ProductIdentifyController {
@RequestParam(value = "nfcUid",required = false) String nfcUid,
@RequestParam(value = "uid", required = true) Integer uid) throws GatewayException {
try{
logger.info("method applyToBeOwner begin! tagId={}, nfcUid={}, uid={}", tagId, nfcUid, uid);
int result = identifyService.applyToBeOwner(tagId, nfcUid, uid);
logger.info("method applyToBeOwner end! tagId={}, nfcUid={}, uid={}", tagId, nfcUid, uid);
return new ApiResponse.ApiResponseBuilder().code(200).data(result).build();
}catch (Exception e){
logger.warn("applyToBeOwner error! tagId={}, nfcUid={}, uid={}, e is {}", tagId, nfcUid, uid, e);
... ... @@ -150,7 +154,11 @@ public class ProductIdentifyController {
@RequestParam(value = "status", required = true) Integer status,
@RequestParam(value = "inbox_id", required = true) Integer inboxId) throws GatewayException {
try{
logger.info("method confirmTransferOwner begin! tagId={}, nfcUid={}, fromUid={}, toUid is{}, status is {}, inboxId is {}", tagId, nfcUid, fromUid, toUid, status, inboxId);
int result = identifyService.confirmOwner(tagId, nfcUid, fromUid, toUid, status, inboxId);
logger.info("method confirmTransferOwner end! tagId={}, nfcUid={}, fromUid={}, toUid is{}, status is {}, inboxId is {}", tagId, nfcUid, fromUid, toUid, status, inboxId);
return new ApiResponse.ApiResponseBuilder().code(200).data(result).build();
}catch (Exception e){
logger.warn("confirmTransferOwner error! tagId={}, nfcUid={}, fromUid={}, toUid is{}, e is {}", tagId, nfcUid, fromUid, toUid, e);
... ...