|
|
|
@@ -28,6 +28,7 @@ import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.util.Assert; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
@@ -275,6 +276,7 @@ public class WxMallServiceImpl implements WxMallService { |
|
|
|
public ResultData addAadmin(WxMall wxMall) { |
|
|
|
|
|
|
|
if(wxMall.getId() == null){ |
|
|
|
wxMall.setValidStart(new Date()); |
|
|
|
if(StringUtils.isBlank(wxMall.getBusinessHours())){ |
|
|
|
wxMall.setBusinessHours("[]"); |
|
|
|
} |
|
|
|
|