摘要: 计算规则为: 总权重为7 第一次执行的时候会选择权重最大的20881,执行完成后20881-总权重,其他的数值不变,得到 -2 1 1 当来到的二轮的时候 20881会通过第一轮的 5 1 1 权重与执行完的权重进行一 一相加得到的二轮的新数据 (5+(-1)) (1+1) (1+1) 按照此算法进 阅读全文
posted @ 2022-05-18 13:38 Seasky-null 阅读(231) 评论(0) 推荐(0)
摘要: @Service public class SearchServiceImpl implements ISearchService { } @Service public class SearchLoadServiceImpl implements ISearchService { } 自动装配时, 阅读全文
posted @ 2022-05-18 11:09 Seasky-null 阅读(126) 评论(0) 推荐(0)
摘要: 使用自定义语句进行模糊查询和使用原生的查询语句进行查询 import cn.tedu.mall.pojo.search.entity.SpuForElastic; import org.springframework.data.elasticsearch.annotations.Query; imp 阅读全文
posted @ 2022-05-17 18:43 Seasky-null 阅读(236) 评论(0) 推荐(0)
摘要: Bean @Data public class AdminDetailsVO implements Serializable { private Long id; private String username; private String password; private List<Strin 阅读全文
posted @ 2022-05-16 19:52 Seasky-null 阅读(71) 评论(0) 推荐(0)
摘要: package cn.tedu.csmall.product.webapi.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.conf 阅读全文
posted @ 2022-05-16 19:43 Seasky-null 阅读(735) 评论(0) 推荐(0)
摘要: <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(document.write(returnCitySN["cip"]+','+return 阅读全文
posted @ 2022-05-16 19:28 Seasky-null 阅读(104) 评论(0) 推荐(0)
摘要: &lt; < 小于号 &gt; > 大于号 &amp; & 和 &apos; ' 单引号 &quot; " 双引号 阅读全文
posted @ 2022-05-16 19:14 Seasky-null 阅读(46) 评论(0) 推荐(1)