|
@@ -45,13 +45,13 @@ public class AppVersionController {
|
|
|
* 推送测试
|
|
|
*/
|
|
|
@GetMapping("/test")
|
|
|
- public void test(@RequestParam String userId) {
|
|
|
+ public void test() {
|
|
|
// geTuiUtils.pushByCid("推送测试","推送测试内容",userId);
|
|
|
- List<CommonUser> list = commonUserService.selectList(new EntityWrapper<>());
|
|
|
- for(CommonUser commonUser:list){
|
|
|
- commonUser.setPassword(Md5Crypt.md5Crypt("123456".getBytes(), "$1$" + commonUser.getPhone().substring(0, 7)));
|
|
|
- }
|
|
|
- commonUserService.updateBatchById(list);
|
|
|
+// List<CommonUser> list = commonUserService.selectList(new EntityWrapper<>());
|
|
|
+// for(CommonUser commonUser:list){
|
|
|
+// commonUser.setPassword(Md5Crypt.md5Crypt("123456".getBytes(), "$1$" + commonUser.getPhone().substring(0, 7)));
|
|
|
+// }
|
|
|
+// commonUserService.updateBatchById(list);
|
|
|
}
|
|
|
|
|
|
}
|