| | |
| | | import java.util.UUID;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | | import javax.transaction.Transactional;
|
| | |
|
| | | import org.springframework.cache.annotation.Cacheable;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | | import org.yeshi.utils.tencentcloud.COSManager;
|
| | |
|
| | |
| | | String params = record.getParams();
|
| | | if (params == null || params.trim().length() == 0 || "null".equalsIgnoreCase(params) ) {
|
| | | record.setParams(null);
|
| | | } else if (!StringUtil.isJson(params)) {
|
| | | throw new SwiperPictureException(1, "跳转参数非JSON格式");
|
| | | }
|
| | |
|
| | | if (!StringUtil.isNullOrEmpty(jumpType)) {
|
| | |
| | | e.printStackTrace();
|
| | | }
|
| | |
|
| | | String remark = record.getRemark();
|
| | | if (remark != null && (remark.trim().length() == 0 || remark.equalsIgnoreCase("null"))) {
|
| | | record.setRemark(null);
|
| | | }
|
| | | |
| | |
|
| | | String picture = null;
|
| | | if (file != null) {
|