发票功能改用系统参数配置用户名和密码

This commit is contained in:
zengweihai 2024-11-29 17:48:47 +08:00
parent 1249f56c29
commit 657a40a829
1 changed files with 5 additions and 5 deletions

View File

@ -726,11 +726,11 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF
String password = System.getProperty("oaFPPassword"); String password = System.getProperty("oaFPPassword");
String loginName = "test";//测试使用test用户 String loginName = "test";//测试使用test用户
//正式环境使用 //正式环境使用
// Long userId = UserServiceHelper.getCurrentUserId(); Long userId = UserServiceHelper.getCurrentUserId();
// DynamicObject bos_user = BusinessDataServiceHelper.loadSingle(userId, "bos_user"); DynamicObject bos_user = BusinessDataServiceHelper.loadSingle(userId, "bos_user");
// if (bos_user != null){ if (bos_user != null){
// loginName = bos_user.getString("number"); loginName = bos_user.getString("number");
// } }
String oaUrl = System.getProperty("oaurl"); String oaUrl = System.getProperty("oaurl");
logger.info("密钥接口mc获取的oaUrl\n{}", oaUrl); logger.info("密钥接口mc获取的oaUrl\n{}", oaUrl);
String linkUrl =oaUrl+ "/seeyon/rest/token"; String linkUrl =oaUrl+ "/seeyon/rest/token";