| | |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | private final static String method = "post"; |
| | | |
| | | @PostMapping("/userpush") |
| | | public R userPush(ApiPushDTO apiPushDTO) { |
| | | public R userPush(@RequestBody ApiPushDTO apiPushDTO) { |
| | | String syncData = SecurityUtil.decryptAES(apiPushDTO.getSyncData(), appSecret); |
| | | List<AccountBean> accountBeanList = JSONArray.parseArray(syncData, AccountBean.class); |
| | | |