token日志
This commit is contained in:
parent
ffe8c88392
commit
8e7abc1854
|
|
@ -101,15 +101,18 @@ public class SalaryTokenUtil {
|
|||
// 获取appid的id
|
||||
String appidId = baseBean.getPropValue("hrmSalaryBillToken", "appid_id");
|
||||
if (StringUtils.isBlank(appidId)) {
|
||||
resultMap.put("msg", "appid_id为空");
|
||||
return resultMap;
|
||||
}
|
||||
String ip = baseBean.getPropValue("hrmSalaryBillToken", "ip");
|
||||
rs.execute("select APPID from ECOLOGY_BIZ_EC where id =" + appidId);
|
||||
String appidSql = String.format("select APPID from ECOLOGY_BIZ_EC where id ='%s'", appidId);
|
||||
rs.execute(appidSql);
|
||||
// 获取appid
|
||||
String appid ="";
|
||||
if (rs.next() && StringUtils.isNotEmpty(rs.getString("APPID"))) {
|
||||
appid = rs.getString("APPID");
|
||||
} else {
|
||||
resultMap.put("msg", "APPID为空,sql:"+appidSql);
|
||||
return resultMap;
|
||||
}
|
||||
String sql= " SELECT conf_value FROM hrsa_salary_sys_conf t WHERE delete_type = 0 AND conf_key = 'SALARY_TOKEN_SECRET'";
|
||||
|
|
|
|||
Loading…
Reference in New Issue