点个获取url修改
This commit is contained in:
@@ -56,8 +56,13 @@ public class ShopSongServiceImpl extends ServiceImpl<ShopSongMapper, ShopSong> i
|
||||
}else {
|
||||
code = RandomStringUtils.randomAlphanumeric(12);
|
||||
redisService.set(key, code);
|
||||
redisService.set(key, shopId);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String string = RandomStringUtils.randomAlphanumeric(12);
|
||||
System.out.println(string);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user