|
|
@@ -227,6 +227,14 @@ public class UserController extends MyController {
|
|
|
|
|
|
// 慧用工签约回调地址
|
|
|
public void hygSign() {
|
|
|
+ JSONObject requestBodyJson = MyController.getJsonModelByRequestAndType(getRequest(), JSONObject.class);
|
|
|
+
|
|
|
+ System.out.println(System.currentTimeMillis() + "有人请求hygSign" + requestBodyJson);
|
|
|
+
|
|
|
+ Map<String, Object> responseJson = new HashMap<>();
|
|
|
+ responseJson.put("statusCode", "000000");
|
|
|
+ responseJson.put("statusText", "回调成功");
|
|
|
+
|
|
|
// 获取所有参数的 Map (键值对形式)
|
|
|
Map<String, String[]> paraMap = getParaMap(); // 注意: 这里的 value 是 String[],因为一个参数名可能对应多个值
|
|
|
|
|
|
@@ -244,7 +252,7 @@ public class UserController extends MyController {
|
|
|
// renderText("");
|
|
|
// }
|
|
|
|
|
|
- renderText("");
|
|
|
+ renderJson(responseJson);
|
|
|
}
|
|
|
|
|
|
@Before(LoginInterceptor.class)
|