- 博客(2)
- 收藏
- 关注
原创 策略模式的简单使用
首先我们定义一个接口:SaleFoodService,里面的功能位saleFood public interface SaleFoodService { AjaxResult saleFood(); } 然后分别写出实现类: @Service("Vegetables") public class VegetablesServiceImpl implements SaleFoodService { @Resource private FoodMapper foodMapper;
2020-11-20 00:08:04
133
原创 Cros跨域解决方案
问题:The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials at
2020-06-24 18:27:36
282
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人