修复代码审查问题:统一错误消息格式和修正日期
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ import java.util.List;
|
||||
* </pre>
|
||||
*
|
||||
* @author binarywang
|
||||
* created on 2026/01/19
|
||||
* created on 2025/01/19
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.io.Serializable;
|
||||
* </pre>
|
||||
*
|
||||
* @author binarywang
|
||||
* created on 2026/01/19
|
||||
* created on 2025/01/19
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
|
||||
@@ -217,7 +217,7 @@ public class PayrollServiceImpl implements PayrollService {
|
||||
}
|
||||
}
|
||||
} catch (IllegalBlockSizeException e) {
|
||||
throw new RuntimeException("Sensitive information encryption failed!", e);
|
||||
throw new RuntimeException("加密异常!", e);
|
||||
}
|
||||
String response = payService.postV3WithWechatpaySerial(url, GSON.toJson(request));
|
||||
return GSON.fromJson(response, PayrollTransferBatchesResult.class);
|
||||
|
||||
@@ -14,6 +14,8 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.testng.annotations.Guice;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* 微工卡(服务商)
|
||||
*
|
||||
@@ -136,7 +138,7 @@ public class PayrollServiceImplTest {
|
||||
.batchRemark("2019年1月深圳分部报销单")
|
||||
.totalAmount(200000L)
|
||||
.totalNum(1)
|
||||
.transferDetailList(java.util.Collections.singletonList(
|
||||
.transferDetailList(Collections.singletonList(
|
||||
PayrollTransferBatchesRequest.TransferDetail.builder()
|
||||
.outDetailNo("x23zy545Bd5436" + System.currentTimeMillis())
|
||||
.transferAmount(200000L)
|
||||
|
||||
Reference in New Issue
Block a user