时间戳服务BUG修复
This commit is contained in:
@ -130,6 +130,7 @@ public class TimeServiceConstant {
|
||||
* @return 时间
|
||||
*/
|
||||
public String getServiceTime(String data){
|
||||
log.info("------------------redis-"+redis);
|
||||
String time = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
|
||||
if(redis.equals("eshop-redis-sim")){
|
||||
return time;
|
||||
|
Reference in New Issue
Block a user