|
@@ -289,7 +289,11 @@ public class UserController extends MyController {
|
|
|
|
|
|
|
|
// 慧用工免登请求地址,用来换取手机号
|
|
// 慧用工免登请求地址,用来换取手机号
|
|
|
public void tokenToMobileNumber() {
|
|
public void tokenToMobileNumber() {
|
|
|
|
|
+ JSONObject requestBodyJson = MyController.getJsonModelByRequestAndType(getRequest(), JSONObject.class);
|
|
|
|
|
+
|
|
|
String token = getPara("token");
|
|
String token = getPara("token");
|
|
|
|
|
+
|
|
|
|
|
+ AppConfig.LOGGER.info("有免登请求: json:{}, form-data:{}", requestBodyJson.toJSONString(), getPara("token"));
|
|
|
|
|
|
|
|
// 顶层 Map 用于封装整个 JSON 结构
|
|
// 顶层 Map 用于封装整个 JSON 结构
|
|
|
Map<String, Object> responseJson = new HashMap<>();
|
|
Map<String, Object> responseJson = new HashMap<>();
|
|
@@ -339,6 +343,8 @@ public class UserController extends MyController {
|
|
|
JSONObject requestBodyJson = MyController.getJsonModelByRequestAndType(getRequest(), JSONObject.class);
|
|
JSONObject requestBodyJson = MyController.getJsonModelByRequestAndType(getRequest(), JSONObject.class);
|
|
|
String businessBodyEncryptedHex = requestBodyJson.getString("businessBody");
|
|
String businessBodyEncryptedHex = requestBodyJson.getString("businessBody");
|
|
|
|
|
|
|
|
|
|
+ AppConfig.LOGGER.info("签约回调: json:{}", requestBodyJson.toJSONString());
|
|
|
|
|
+
|
|
|
try {
|
|
try {
|
|
|
String body = AESUtils.decryptByHex(businessBodyEncryptedHex);
|
|
String body = AESUtils.decryptByHex(businessBodyEncryptedHex);
|
|
|
JSONObject businessBody = JSONObject.parseObject(body);
|
|
JSONObject businessBody = JSONObject.parseObject(body);
|