上一页 1 ··· 162 163 164 165 166 167 168 169 170 ··· 497 下一页
摘要: require.context: https://webpack.js.org/guides/dependency-management/#requirecontext require.context(directory, useSubdirectories = true, regExp = /^\ 阅读全文
posted @ 2020-12-26 18:14 Zhentiw 阅读(172) 评论(0) 推荐(0)
摘要: package com.example.ec.security; import com.example.ec.repo.RoleRepository; import org.springframework.beans.factory.annotation.Autowired; import org. 阅读全文
posted @ 2020-12-26 04:54 Zhentiw 阅读(102) 评论(0) 推荐(0)
摘要: Controller: @RestController @RequestMapping(path = "/ratings") public class RatingController { private static final Logger LOGGER = LoggerFactory.getL 阅读全文
posted @ 2020-12-26 04:33 Zhentiw 阅读(145) 评论(0) 推荐(0)
摘要: Service: package com.example.ec.service; import com.example.ec.domain.Tour; import com.example.ec.domain.TourRating; import com.example.ec.repo.TourRa 阅读全文
posted @ 2020-12-23 03:40 Zhentiw 阅读(476) 评论(0) 推荐(0)
摘要: If one request failed, we want to keep database untouched as if the request never happen. Spring makes it easy to add: @Transactional To the method or 阅读全文
posted @ 2020-12-23 02:14 Zhentiw 阅读(111) 评论(0) 推荐(0)
摘要: The CSS property object-fit instructs an img to act as the container for its own contents. We can then use the value cover to have the image content b 阅读全文
posted @ 2020-12-20 21:35 Zhentiw 阅读(106) 评论(0) 推荐(0)
摘要: Learn how to use the modern CSS property clamp() to create responsive layout sizing that adjusts to the viewport size without the use of media queries 阅读全文
posted @ 2020-12-20 21:32 Zhentiw 阅读(122) 评论(0) 推荐(0)
摘要: Apply a grayscale and blurred effect on an image without the use of graphics software by using the CSS filter property. Additionally, use an inset box 阅读全文
posted @ 2020-12-20 21:28 Zhentiw 阅读(115) 评论(0) 推荐(0)
摘要: Repo: public interface CourseRepository extends CrudRepository<Course,Integer>{ Optional<Course> findByName(String name); @Query("Select new com.examp 阅读全文
posted @ 2020-12-20 20:40 Zhentiw 阅读(195) 评论(0) 推荐(0)
摘要: @Test public void queryByExample() { System.out.println("\nFind the Department with the name 'Humanities' \n" + departmentRepository.findOne(Example.o 阅读全文
posted @ 2020-12-18 04:24 Zhentiw 阅读(154) 评论(0) 推荐(0)
上一页 1 ··· 162 163 164 165 166 167 168 169 170 ··· 497 下一页