更新
This commit is contained in:
parent
b5e709f5e5
commit
5b1b75cbbe
@ -34,8 +34,7 @@
|
|||||||
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
<!-- <root level="INFO">-->
|
<root >
|
||||||
<root>
|
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<appender-ref ref="FILE"/>
|
<appender-ref ref="FILE"/>
|
||||||
<appender-ref ref="LOGSTASH"/>
|
<appender-ref ref="LOGSTASH"/>
|
||||||
|
@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,分销员接口")
|
@Api(tags = "买家端,分销员接口")
|
||||||
@RequestMapping("/buyer/distribution")
|
@RequestMapping("/buyer/distribution/distribution")
|
||||||
public class DistributionBuyerController {
|
public class DistributionBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +30,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,分销商品接口")
|
@Api(tags = "买家端,分销商品接口")
|
||||||
@RequestMapping("/buyer/distributionGoods")
|
@RequestMapping("/buyer/distribution/goods")
|
||||||
public class DistributionGoodsBuyerController {
|
public class DistributionGoodsBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,7 +25,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,商品分类接口")
|
@Api(tags = "买家端,商品分类接口")
|
||||||
@RequestMapping("/buyer/category")
|
@RequestMapping("/buyer/goods/category")
|
||||||
public class CategoryBuyerController {
|
public class CategoryBuyerController {
|
||||||
/**
|
/**
|
||||||
* 商品分类
|
* 商品分类
|
||||||
|
@ -43,7 +43,7 @@ import java.util.Map;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@Api(tags = "买家端,商品接口")
|
@Api(tags = "买家端,商品接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/goods")
|
@RequestMapping("/buyer/goods/goods")
|
||||||
public class GoodsBuyerController {
|
public class GoodsBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,浏览历史接口")
|
@Api(tags = "买家端,浏览历史接口")
|
||||||
@RequestMapping("/buyer/footprint")
|
@RequestMapping("/buyer/member/footprint")
|
||||||
public class FootprintController {
|
public class FootprintController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,7 +26,7 @@ import java.util.Objects;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员地址接口")
|
@Api(tags = "买家端,会员地址接口")
|
||||||
@RequestMapping("/buyer/memberAddress")
|
@RequestMapping("/buyer/member/address")
|
||||||
public class MemberAddressBuyerController {
|
public class MemberAddressBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,7 +29,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员商品评价接口")
|
@Api(tags = "买家端,会员商品评价接口")
|
||||||
@RequestMapping("/buyer/memberEvaluation")
|
@RequestMapping("/buyer/member/evaluation")
|
||||||
public class MemberEvaluationBuyerController {
|
public class MemberEvaluationBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员站内消息接口")
|
@Api(tags = "买家端,会员站内消息接口")
|
||||||
@RequestMapping("/buyer/member/message")
|
@RequestMapping("/buyer/message/member")
|
||||||
public class MemberMessageBuyerController {
|
public class MemberMessageBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,7 +36,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,售后管理接口")
|
@Api(tags = "买家端,售后管理接口")
|
||||||
@RequestMapping("/buyer/afterSale")
|
@RequestMapping("/buyer/order/afterSale")
|
||||||
public class AfterSaleBuyerController {
|
public class AfterSaleBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,7 +35,7 @@ import java.util.Objects;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,订单接口")
|
@Api(tags = "买家端,订单接口")
|
||||||
@RequestMapping("/buyer/orders")
|
@RequestMapping("/buyer/order/order")
|
||||||
public class OrderBuyerController {
|
public class OrderBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,7 +34,7 @@ import java.util.Objects;
|
|||||||
**/
|
**/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,交易投诉接口")
|
@Api(tags = "买家端,交易投诉接口")
|
||||||
@RequestMapping("/buyer/complain")
|
@RequestMapping("/buyer/order/complain")
|
||||||
public class OrderComplaintBuyerController {
|
public class OrderComplaintBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,7 +10,6 @@ import io.swagger.annotations.ApiImplicitParam;
|
|||||||
import io.swagger.annotations.ApiImplicitParams;
|
import io.swagger.annotations.ApiImplicitParams;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,APP版本")
|
@Api(tags = "买家端,APP版本")
|
||||||
@RequestMapping("/buyer/appVersion")
|
@RequestMapping("/buyer/other/appVersion")
|
||||||
public class AppVersionBuyerController {
|
public class AppVersionBuyerController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,文章接口")
|
@Api(tags = "买家端,文章接口")
|
||||||
@RequestMapping("/buyer/article")
|
@RequestMapping("/buyer/other/article")
|
||||||
public class ArticleBuyerController {
|
public class ArticleBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,7 +23,7 @@ import javax.validation.Valid;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,意见反馈接口")
|
@Api(tags = "买家端,意见反馈接口")
|
||||||
@RequestMapping("/buyer/feedback")
|
@RequestMapping("/buyer/other/feedback")
|
||||||
public class FeedbackBuyerController {
|
public class FeedbackBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +21,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,物流公司接口")
|
@Api(tags = "买家端,物流公司接口")
|
||||||
@RequestMapping("/buyer/logistics")
|
@RequestMapping("/buyer/other/logistics")
|
||||||
public class LogisticsBuyerController {
|
public class LogisticsBuyerController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,页面接口")
|
@Api(tags = "买家端,页面接口")
|
||||||
@RequestMapping("/buyer/pageData")
|
@RequestMapping("/buyer/other/pageData")
|
||||||
public class PageBuyerController {
|
public class PageBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +30,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
*/
|
*/
|
||||||
@Api(tags = "买家端,采购接口")
|
@Api(tags = "买家端,采购接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/purchase")
|
@RequestMapping("/buyer/other/purchase/purchase")
|
||||||
public class PurchaseBuyerController {
|
public class PurchaseBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,7 +27,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@Api(tags = "买家端,采购报价接口")
|
@Api(tags = "买家端,采购报价接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/purchaseQuoted")
|
@RequestMapping("/buyer/other/purchase/purchaseQuoted")
|
||||||
public class PurchaseQuotedController {
|
public class PurchaseQuotedController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员接口")
|
@Api(tags = "买家端,会员接口")
|
||||||
@RequestMapping("/buyer/members")
|
@RequestMapping("/buyer/passport/member")
|
||||||
public class MemberBuyerController {
|
public class MemberBuyerController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -21,7 +21,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,app/小程序 联合登录")
|
@Api(tags = "买家端,app/小程序 联合登录")
|
||||||
@RequestMapping("/buyer/connect/bind")
|
@RequestMapping("/buyer/passport/connect/bind")
|
||||||
public class ConnectBuyerBindController {
|
public class ConnectBuyerBindController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -33,7 +33,7 @@ import java.io.IOException;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,web联合登录")
|
@Api(tags = "买家端,web联合登录")
|
||||||
@RequestMapping("/buyer/connect")
|
@RequestMapping("/buyer/passport/connect/connect")
|
||||||
public class ConnectBuyerWebController {
|
public class ConnectBuyerWebController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -26,7 +26,7 @@ import java.util.List;
|
|||||||
* @since 2021/2/19 09:28
|
* @since 2021/2/19 09:28
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/mini-program")
|
@RequestMapping("/buyer/passport/connect/miniProgram")
|
||||||
@Api(tags = "买家端,小程序登录接口")
|
@Api(tags = "买家端,小程序登录接口")
|
||||||
public class MiniProgramBuyerController {
|
public class MiniProgramBuyerController {
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,收银台接口")
|
@Api(tags = "买家端,收银台接口")
|
||||||
@RequestMapping("/buyer/cashier")
|
@RequestMapping("/buyer/payment/cashier")
|
||||||
public class CashierController {
|
public class CashierController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -20,7 +20,7 @@ import javax.servlet.http.HttpServletRequest;
|
|||||||
*/
|
*/
|
||||||
@Api(tags = "买家端,退款回调")
|
@Api(tags = "买家端,退款回调")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/cashier/refund")
|
@RequestMapping("/buyer/payment/cashierRefund")
|
||||||
public class CashierRefundController {
|
public class CashierRefundController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -31,7 +31,7 @@ import java.util.List;
|
|||||||
* @since 2020/11/17 2:32 下午
|
* @since 2020/11/17 2:32 下午
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/buyer/store")
|
@RequestMapping("/buyer/store/store")
|
||||||
@Api(tags = "买家端,店铺接口")
|
@Api(tags = "买家端,店铺接口")
|
||||||
public class StoreBuyerController {
|
public class StoreBuyerController {
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员发票接口")
|
@Api(tags = "买家端,会员发票接口")
|
||||||
@RequestMapping("/buyer/member/receipt")
|
@RequestMapping("/buyer/wallet/receipt")
|
||||||
public class MemberReceiptController {
|
public class MemberReceiptController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -35,7 +35,7 @@ import javax.validation.constraints.Pattern;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,会员余额接口")
|
@Api(tags = "买家端,会员余额接口")
|
||||||
@RequestMapping("/buyer/members/wallet")
|
@RequestMapping("/buyer/wallet/wallet")
|
||||||
public class MemberWalletBuyerController {
|
public class MemberWalletBuyerController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +12,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
@ -11,7 +11,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
@ -24,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "买家端,预存款充值记录接口")
|
@Api(tags = "买家端,预存款充值记录接口")
|
||||||
@RequestMapping("/buyer/member/recharge")
|
@RequestMapping("/buyer/wallet/recharge")
|
||||||
public class RechargeBuyerController {
|
public class RechargeBuyerController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -3,12 +3,19 @@ server:
|
|||||||
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /
|
context-path: /
|
||||||
|
#
|
||||||
tomcat:
|
# tomcat:
|
||||||
uri-encoding: UTF-8
|
# #最大链接数,默认不设置,默认是10000
|
||||||
threads:
|
# max-connections: 6500
|
||||||
min-spare: 50
|
# #最大等待队列长度,允许HTTP请求缓存到请求队列的最大个数,默认不限制
|
||||||
max: 1000
|
# accept-count: 1000
|
||||||
|
# threads:
|
||||||
|
# #最少闲置
|
||||||
|
# min-spare: 50
|
||||||
|
# #最大线程数 ,默认是200
|
||||||
|
# max: 800
|
||||||
|
netty:
|
||||||
|
connection-timeout:
|
||||||
|
|
||||||
# 与Spring Boot 2一样,默认情况下,大多数端点都不通过http公开,我们公开了所有端点。对于生产,您应该仔细选择要公开的端点。
|
# 与Spring Boot 2一样,默认情况下,大多数端点都不通过http公开,我们公开了所有端点。对于生产,您应该仔细选择要公开的端点。
|
||||||
management:
|
management:
|
||||||
@ -22,6 +29,8 @@ management:
|
|||||||
exposure:
|
exposure:
|
||||||
include: '*'
|
include: '*'
|
||||||
spring:
|
spring:
|
||||||
|
application:
|
||||||
|
name: buyer-api
|
||||||
# 要在其中注册的Spring Boot Admin Server的URL。
|
# 要在其中注册的Spring Boot Admin Server的URL。
|
||||||
boot:
|
boot:
|
||||||
admin:
|
admin:
|
||||||
@ -41,20 +50,9 @@ spring:
|
|||||||
#关闭jackson 对json做解析
|
#关闭jackson 对json做解析
|
||||||
fail-on-empty-beans: false
|
fail-on-empty-beans: false
|
||||||
|
|
||||||
# mongodb
|
|
||||||
data:
|
|
||||||
mongodb:
|
|
||||||
host: 192.168.2.126
|
|
||||||
port: 27017
|
|
||||||
database: rx-shop
|
|
||||||
username: goboo
|
|
||||||
password: Gb84505016
|
|
||||||
authentication-database: admin
|
|
||||||
# replica-set-name: mongoreplset
|
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.126
|
host: 192.168.2.122
|
||||||
port: 6379
|
port: 6379
|
||||||
password: Gb84505016
|
password: Gb84505016
|
||||||
lettuce:
|
lettuce:
|
||||||
@ -78,10 +76,10 @@ spring:
|
|||||||
url: jdbc:mysql://192.168.2.126:3306/rx-shop?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
|
url: jdbc:mysql://192.168.2.126:3306/rx-shop?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
|
||||||
username: rx-shop
|
username: rx-shop
|
||||||
password: J2xEZ42HwPXrDXt3
|
password: J2xEZ42HwPXrDXt3
|
||||||
maxActive: 20
|
maxActive: 50
|
||||||
initialSize: 5
|
initialSize: 10
|
||||||
maxWait: 60000
|
maxWait: 60000
|
||||||
minIdle: 5
|
minIdle: 10
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
timeBetweenEvictionRunsMillis: 60000
|
||||||
minEvictableIdleTimeMillis: 300000
|
minEvictableIdleTimeMillis: 300000
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
@ -119,7 +117,7 @@ spring:
|
|||||||
props:
|
props:
|
||||||
#是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭
|
#是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭
|
||||||
sql:
|
sql:
|
||||||
show: true
|
show: false
|
||||||
|
|
||||||
# 忽略TOKEN 鉴权 的url
|
# 忽略TOKEN 鉴权 的url
|
||||||
ignored:
|
ignored:
|
||||||
@ -130,26 +128,21 @@ ignored:
|
|||||||
- /MP_verify_qSyvBPhDsPdxvOhC.txt
|
- /MP_verify_qSyvBPhDsPdxvOhC.txt
|
||||||
- /weixin/**
|
- /weixin/**
|
||||||
- /source/**
|
- /source/**
|
||||||
- /buyer/mini-program/**
|
- /buyer/payment/cashier/**
|
||||||
- /buyer/cashier/**
|
- /buyer/other/pageData/**
|
||||||
- /buyer/pageData/**
|
- /buyer/other/article/**
|
||||||
- /buyer/article/**
|
|
||||||
- /buyer/goods/**
|
- /buyer/goods/**
|
||||||
- /buyer/category/**
|
- /buyer/store/**
|
||||||
- /buyer/store
|
- /buyer/passport/connect/**
|
||||||
- /buyer/store/get**
|
|
||||||
- /buyer/store/get/**
|
|
||||||
- /buyer/store/label/get**
|
|
||||||
- /buyer/store/label/get/**
|
|
||||||
- /buyer/connect/**
|
|
||||||
- /buyer/members/**
|
- /buyer/members/**
|
||||||
|
- /buyer/passport/member/**
|
||||||
- /buyer/promotion/pintuan/**
|
- /buyer/promotion/pintuan/**
|
||||||
- /buyer/promotion/coupon/**
|
|
||||||
- /buyer/promotion/seckill/**
|
- /buyer/promotion/seckill/**
|
||||||
- /buyer/promotion/pointsGoods/**
|
- /buyer/promotion/pointsGoods/**
|
||||||
- /buyer/memberEvaluation/**/goodsEvaluation
|
- /buyer/promotion/coupon
|
||||||
- /buyer/memberEvaluation/**/evaluationNumber
|
- /buyer/member/evaluation/**/goodsEvaluation
|
||||||
- /buyer/appVersion/**
|
- /buyer/member/evaluation/**/evaluationNumber
|
||||||
|
- /buyer/other/appVersion/**
|
||||||
- /buyer/broadcast/studio/**
|
- /buyer/broadcast/studio/**
|
||||||
- /druid/**
|
- /druid/**
|
||||||
- /swagger-ui.html
|
- /swagger-ui.html
|
||||||
@ -170,11 +163,11 @@ swagger:
|
|||||||
title: API接口文档
|
title: API接口文档
|
||||||
description: Api Documentation
|
description: Api Documentation
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
termsOfServiceUrl:
|
termsOfServiceUrl: https://pickmall.cn
|
||||||
contact:
|
contact:
|
||||||
name: rx
|
name: lili
|
||||||
url:
|
url: https://pickmall.cn
|
||||||
email:
|
email: admin@pickmall.com
|
||||||
|
|
||||||
# Mybatis-plus
|
# Mybatis-plus
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
@ -187,19 +180,20 @@ mybatis-plus:
|
|||||||
|
|
||||||
# 日志
|
# 日志
|
||||||
logging:
|
logging:
|
||||||
|
config: classpath:logback-spring.xml
|
||||||
# 输出级别
|
# 输出级别
|
||||||
level:
|
level:
|
||||||
cn.lili: debug
|
root: info
|
||||||
org.hibernate: debug
|
# org.springframework: debug
|
||||||
# org.springframework: debug
|
|
||||||
# org.springframework.data.mongodb.core: debug
|
|
||||||
file:
|
file:
|
||||||
# 指定路径
|
# 指定路径
|
||||||
path: lili-logs
|
path: lili-logs
|
||||||
# 最大保存天数
|
logback:
|
||||||
max-history: 7
|
rollingpolicy:
|
||||||
# 每个文件最大大小
|
# 最大保存天数
|
||||||
max-size: 5MB
|
max-history: 7
|
||||||
|
# 每个文件最大大小
|
||||||
|
max-file-size: 5MB
|
||||||
#加密参数
|
#加密参数
|
||||||
jasypt:
|
jasypt:
|
||||||
encryptor:
|
encryptor:
|
||||||
@ -207,7 +201,7 @@ jasypt:
|
|||||||
|
|
||||||
lili:
|
lili:
|
||||||
system:
|
system:
|
||||||
isDemoSite: false
|
isDemoSite: true
|
||||||
statistics:
|
statistics:
|
||||||
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
|
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
|
||||||
onlineMember: 48
|
onlineMember: 48
|
||||||
@ -247,7 +241,7 @@ lili:
|
|||||||
data:
|
data:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
cluster-name: elasticsearch
|
cluster-name: elasticsearch
|
||||||
cluster-nodes: 192.168.2.126:9200
|
cluster-nodes: 192.168.2.122:9200
|
||||||
index:
|
index:
|
||||||
number-of-replicas: 0
|
number-of-replicas: 0
|
||||||
number-of-shards: 3
|
number-of-shards: 3
|
||||||
@ -257,7 +251,7 @@ lili:
|
|||||||
# username: elastic
|
# username: elastic
|
||||||
# password: LiLiShopES
|
# password: LiLiShopES
|
||||||
logstash:
|
logstash:
|
||||||
server: 192.168.2.126:4560
|
server: 192.168.2.122:4560
|
||||||
rocketmq:
|
rocketmq:
|
||||||
promotion-topic: lili_promotion_topic
|
promotion-topic: lili_promotion_topic
|
||||||
promotion-group: lili_promotion_group
|
promotion-group: lili_promotion_group
|
||||||
@ -278,7 +272,7 @@ lili:
|
|||||||
after-sale-topic: lili_after_sale_topic
|
after-sale-topic: lili_after_sale_topic
|
||||||
after-sale-group: lili_after_sale_group
|
after-sale-group: lili_after_sale_group
|
||||||
rocketmq:
|
rocketmq:
|
||||||
name-server: 192.168.2.126:9876
|
name-server: 192.168.2.122:9876
|
||||||
producer:
|
producer:
|
||||||
group: lili_group
|
group: lili_group
|
||||||
send-message-timeout: 30000
|
send-message-timeout: 30000
|
||||||
@ -286,7 +280,7 @@ rocketmq:
|
|||||||
xxl:
|
xxl:
|
||||||
job:
|
job:
|
||||||
admin:
|
admin:
|
||||||
addresses: http://192.168.2.126:9001/xxl-job-admin
|
addresses: http://192.168.2.122:9001/xxl-job-admin
|
||||||
executor:
|
executor:
|
||||||
appname: xxl-job-executor-lilishop
|
appname: xxl-job-executor-lilishop
|
||||||
address:
|
address:
|
||||||
|
@ -34,8 +34,7 @@
|
|||||||
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
<!-- <root level="INFO">-->
|
<root >
|
||||||
<root>
|
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<appender-ref ref="FILE"/>
|
<appender-ref ref="FILE"/>
|
||||||
<appender-ref ref="LOGSTASH"/>
|
<appender-ref ref="LOGSTASH"/>
|
||||||
|
@ -24,11 +24,11 @@ spring:
|
|||||||
boot:
|
boot:
|
||||||
admin:
|
admin:
|
||||||
client:
|
client:
|
||||||
url: http://192.168.2.126:8000
|
url: http://192.168.2.122:8000
|
||||||
# mongodb
|
# mongodb
|
||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
host: 192.168.2.126
|
host: 192.168.2.122
|
||||||
port: 27017
|
port: 27017
|
||||||
database: rx-shop
|
database: rx-shop
|
||||||
username: goboo
|
username: goboo
|
||||||
@ -39,10 +39,10 @@ spring:
|
|||||||
type: redis
|
type: redis
|
||||||
#amqp
|
#amqp
|
||||||
# rabbitmq:
|
# rabbitmq:
|
||||||
# host: 192.168.2.126
|
# host: 192.168.2.122
|
||||||
# Redis
|
# Redis
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.126
|
host: 192.168.2.122
|
||||||
port: 6379
|
port: 6379
|
||||||
password: Gb84505016
|
password: Gb84505016
|
||||||
lettuce:
|
lettuce:
|
||||||
@ -143,8 +143,8 @@ ignored:
|
|||||||
- /buyer/memberEvaluation/**/goodsEvaluation
|
- /buyer/memberEvaluation/**/goodsEvaluation
|
||||||
- /buyer/memberEvaluation/**/evaluationNumber
|
- /buyer/memberEvaluation/**/evaluationNumber
|
||||||
- /store/login/**
|
- /store/login/**
|
||||||
- /manager/user/login
|
- /manager/passport/user/login
|
||||||
- /manager/user/refresh/**
|
- /manager/passport/user/refresh/**
|
||||||
- /druid/**
|
- /druid/**
|
||||||
- /swagger-ui.html
|
- /swagger-ui.html
|
||||||
- /doc.html
|
- /doc.html
|
||||||
@ -213,16 +213,16 @@ lili:
|
|||||||
sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
|
sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
|
||||||
#域名
|
#域名
|
||||||
domain:
|
domain:
|
||||||
pc: http://192.168.2.126:8885
|
pc: http://192.168.2.122:8885
|
||||||
wap: http://192.168.2.126:8885
|
wap: http://192.168.2.122:8885
|
||||||
seller: http://192.168.2.126:8885
|
seller: http://192.168.2.122:8885
|
||||||
admin: http://192.168.2.126:8885
|
admin: http://192.168.2.122:8885
|
||||||
#api地址
|
#api地址
|
||||||
api:
|
api:
|
||||||
buyer: https://z171l91606.51mypc.cn
|
buyer: https://z171l91606.51mypc.cn
|
||||||
base: http://192.168.2.126:8885
|
base: http://192.168.2.122:8885
|
||||||
manager: http://192.168.2.126:8885
|
manager: http://192.168.2.122:8885
|
||||||
seller: http://192.168.2.126:8885
|
seller: http://192.168.2.122:8885
|
||||||
|
|
||||||
# jwt 细节设定
|
# jwt 细节设定
|
||||||
jwt-setting:
|
jwt-setting:
|
||||||
@ -241,7 +241,7 @@ lili:
|
|||||||
data:
|
data:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
cluster-name: elasticsearch
|
cluster-name: elasticsearch
|
||||||
cluster-nodes: 192.168.2.126:9200
|
cluster-nodes: 192.168.2.122:9200
|
||||||
index:
|
index:
|
||||||
number-of-replicas: 0
|
number-of-replicas: 0
|
||||||
number-of-shards: 3
|
number-of-shards: 3
|
||||||
@ -269,7 +269,7 @@ lili:
|
|||||||
notice-send-topic: lili_send_notice_topic
|
notice-send-topic: lili_send_notice_topic
|
||||||
notice-send-group: lili_send_notice_group
|
notice-send-group: lili_send_notice_group
|
||||||
rocketmq:
|
rocketmq:
|
||||||
name-server: 192.168.2.126:9876
|
name-server: 192.168.2.122:9876
|
||||||
producer:
|
producer:
|
||||||
group: lili_group
|
group: lili_group
|
||||||
send-message-timeout: 30000
|
send-message-timeout: 30000
|
||||||
@ -277,7 +277,7 @@ rocketmq:
|
|||||||
xxl:
|
xxl:
|
||||||
job:
|
job:
|
||||||
admin:
|
admin:
|
||||||
addresses: http://192.168.2.126:9001/xxl-job-admin
|
addresses: http://192.168.2.122:9001/xxl-job-admin
|
||||||
executor:
|
executor:
|
||||||
appname: xxl-job-executor-lilishop
|
appname: xxl-job-executor-lilishop
|
||||||
address:
|
address:
|
||||||
|
@ -30,8 +30,8 @@ import java.util.List;
|
|||||||
* @since 2020/11/26 15:41
|
* @since 2020/11/26 15:41
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "文件管理管理接口")
|
@Api(tags = "文件管理接口")
|
||||||
@RequestMapping("/common/file")
|
@RequestMapping("/common/common/file")
|
||||||
public class FileController {
|
public class FileController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
* 2021-09-16 15:32
|
* 2021-09-16 15:32
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/common/IM")
|
@RequestMapping("/common/common/IM")
|
||||||
@Api(tags = "IM 中心")
|
@Api(tags = "IM 中心")
|
||||||
public class IMController {
|
public class IMController {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package cn.lili.controller.common;
|
package cn.lili.controller.common;
|
||||||
|
|
||||||
import cn.lili.common.enums.ResultUtil;
|
|
||||||
import cn.lili.common.utils.IpHelper;
|
import cn.lili.common.utils.IpHelper;
|
||||||
|
import cn.lili.common.enums.ResultUtil;
|
||||||
import cn.lili.common.vo.ResultMessage;
|
import cn.lili.common.vo.ResultMessage;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
@ -20,7 +20,7 @@ import javax.servlet.http.HttpServletRequest;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "获取IP信息以及天气")
|
@Api(tags = "获取IP信息以及天气")
|
||||||
@RequestMapping("/common/ip")
|
@RequestMapping("/common/common/ip")
|
||||||
public class IpInfoManagerController {
|
public class IpInfoManagerController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private IpHelper ipHelper;
|
private IpHelper ipHelper;
|
||||||
@ -28,6 +28,7 @@ public class IpInfoManagerController {
|
|||||||
@RequestMapping(value = "/info", method = RequestMethod.GET)
|
@RequestMapping(value = "/info", method = RequestMethod.GET)
|
||||||
@ApiOperation(value = "IP及天气相关信息")
|
@ApiOperation(value = "IP及天气相关信息")
|
||||||
public ResultMessage<Object> upload(HttpServletRequest request) {
|
public ResultMessage<Object> upload(HttpServletRequest request) {
|
||||||
|
|
||||||
String result = ipHelper.getIpCity(request);
|
String result = ipHelper.getIpCity(request);
|
||||||
return ResultUtil.data(result);
|
return ResultUtil.data(result);
|
||||||
}
|
}
|
||||||
|
@ -19,8 +19,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
* @since 2020/11/26 15:41
|
* @since 2020/11/26 15:41
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "文件管理管理接口")
|
@Api(tags = "文件管理接口")
|
||||||
@RequestMapping("/common/logo")
|
@RequestMapping("/common/common/logo")
|
||||||
public class LogoController {
|
public class LogoController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -22,7 +22,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "地址信息接口")
|
@Api(tags = "地址信息接口")
|
||||||
@RequestMapping("/common/region")
|
@RequestMapping("/common/common/region")
|
||||||
public class RegionController {
|
public class RegionController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package cn.lili.controller.common;
|
package cn.lili.controller.common;
|
||||||
|
|
||||||
import cn.lili.cache.limit.annotation.LimitPoint;
|
import cn.lili.cache.limit.annotation.LimitPoint;
|
||||||
import cn.lili.common.aop.annotation.PreventDuplicateSubmissions;
|
|
||||||
import cn.lili.common.enums.ResultUtil;
|
import cn.lili.common.enums.ResultUtil;
|
||||||
import cn.lili.common.vo.ResultMessage;
|
import cn.lili.common.vo.ResultMessage;
|
||||||
import cn.lili.modules.verification.entity.enums.VerificationEnums;
|
import cn.lili.modules.verification.entity.enums.VerificationEnums;
|
||||||
@ -20,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/common/slider")
|
@RequestMapping("/common/common/slider")
|
||||||
@Api(tags = "滑块验证码接口")
|
@Api(tags = "滑块验证码接口")
|
||||||
public class SliderImageController {
|
public class SliderImageController {
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "短信验证码接口")
|
@Api(tags = "短信验证码接口")
|
||||||
@RequestMapping("/common/sms")
|
@RequestMapping("/common/common/sms")
|
||||||
public class SmsController {
|
public class SmsController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -5,7 +5,6 @@ import cn.lili.cache.Cache;
|
|||||||
import cn.lili.common.enums.ResultCode;
|
import cn.lili.common.enums.ResultCode;
|
||||||
import cn.lili.common.enums.ResultUtil;
|
import cn.lili.common.enums.ResultUtil;
|
||||||
import cn.lili.common.exception.ServiceException;
|
import cn.lili.common.exception.ServiceException;
|
||||||
import cn.lili.common.properties.SystemSettingProperties;
|
|
||||||
import cn.lili.common.security.AuthUser;
|
import cn.lili.common.security.AuthUser;
|
||||||
import cn.lili.common.security.context.UserContext;
|
import cn.lili.common.security.context.UserContext;
|
||||||
import cn.lili.common.security.enums.UserEnums;
|
import cn.lili.common.security.enums.UserEnums;
|
||||||
@ -40,7 +39,7 @@ import java.util.Objects;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@Api(tags = "文件上传接口")
|
@Api(tags = "文件上传接口")
|
||||||
@RequestMapping("/common/upload")
|
@RequestMapping("/common/common/upload")
|
||||||
public class UploadController {
|
public class UploadController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -22,26 +22,18 @@ management:
|
|||||||
exposure:
|
exposure:
|
||||||
include: '*'
|
include: '*'
|
||||||
spring:
|
spring:
|
||||||
|
application:
|
||||||
|
name: common-api
|
||||||
# 要在其中注册的Spring Boot Admin Server的URL。
|
# 要在其中注册的Spring Boot Admin Server的URL。
|
||||||
boot:
|
boot:
|
||||||
admin:
|
admin:
|
||||||
client:
|
client:
|
||||||
url: http://127.0.0.1:8000
|
url: http://127.0.0.1:8000
|
||||||
# mongodb
|
|
||||||
data:
|
|
||||||
mongodb:
|
|
||||||
host: 192.168.2.126
|
|
||||||
port: 27017
|
|
||||||
database: rx-shop
|
|
||||||
username: goboo
|
|
||||||
password: Gb84505016
|
|
||||||
authentication-database: admin
|
|
||||||
# replica-set-name: mongoreplset
|
|
||||||
cache:
|
cache:
|
||||||
type: redis
|
type: redis
|
||||||
# Redis
|
# Redis
|
||||||
redis:
|
redis:
|
||||||
host: 192.168.2.126
|
host: 192.168.2.122
|
||||||
port: 6379
|
port: 6379
|
||||||
password: Gb84505016
|
password: Gb84505016
|
||||||
lettuce:
|
lettuce:
|
||||||
@ -116,7 +108,7 @@ spring:
|
|||||||
props:
|
props:
|
||||||
#是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭
|
#是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭
|
||||||
sql:
|
sql:
|
||||||
show: true
|
show: false
|
||||||
|
|
||||||
# 忽略鉴权url
|
# 忽略鉴权url
|
||||||
ignored:
|
ignored:
|
||||||
@ -127,24 +119,8 @@ ignored:
|
|||||||
- /MP_verify_qSyvBPhDsPdxvOhC.txt
|
- /MP_verify_qSyvBPhDsPdxvOhC.txt
|
||||||
- /weixin/**
|
- /weixin/**
|
||||||
- /source/**
|
- /source/**
|
||||||
- /buyer/mini-program/**
|
- /common/common/slider/**
|
||||||
- /buyer/cashier/**
|
- /common/common/sms/**
|
||||||
- /buyer/pageData/**
|
|
||||||
- /buyer/article/**
|
|
||||||
- /buyer/goods/**
|
|
||||||
- /buyer/category/**
|
|
||||||
- /buyer/shop/**
|
|
||||||
- /buyer/connect/**
|
|
||||||
- /buyer/members/smsLogin
|
|
||||||
- /buyer/members/refresh/*
|
|
||||||
- /buyer/members/refresh**
|
|
||||||
- /buyer/promotion/pintuan
|
|
||||||
- /buyer/promotion/seckill
|
|
||||||
- /buyer/memberEvaluation/**/goodsEvaluation
|
|
||||||
- /buyer/memberEvaluation/**/evaluationNumber
|
|
||||||
- /store/login/**
|
|
||||||
- /manager/user/login
|
|
||||||
- /manager/user/refresh/**
|
|
||||||
- /druid/**
|
- /druid/**
|
||||||
- /swagger-ui.html
|
- /swagger-ui.html
|
||||||
- /doc.html
|
- /doc.html
|
||||||
@ -164,11 +140,11 @@ swagger:
|
|||||||
title: API接口文档
|
title: API接口文档
|
||||||
description: Api Documentation
|
description: Api Documentation
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
termsOfServiceUrl:
|
termsOfServiceUrl: https://pickmall.cn
|
||||||
contact:
|
contact:
|
||||||
name: rx
|
name: lili
|
||||||
url:
|
url: https://pickmall.cn
|
||||||
email:
|
email: admin@pickmall.com
|
||||||
|
|
||||||
# Mybatis-plus
|
# Mybatis-plus
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
@ -181,19 +157,21 @@ mybatis-plus:
|
|||||||
|
|
||||||
# 日志
|
# 日志
|
||||||
logging:
|
logging:
|
||||||
|
config: classpath:logback-spring.xml
|
||||||
# 输出级别
|
# 输出级别
|
||||||
level:
|
level:
|
||||||
cn.lili: info
|
root: info
|
||||||
# org.hibernate: debug
|
# org.hibernate: debug
|
||||||
# org.springframework: debug
|
# org.springframework: debug
|
||||||
# org.springframework.data.mongodb.core: debug
|
|
||||||
file:
|
file:
|
||||||
# 指定路径
|
# 指定路径
|
||||||
path: lili-logs
|
path: lili-logs
|
||||||
# 最大保存天数
|
logback:
|
||||||
max-history: 7
|
rollingpolicy:
|
||||||
# 每个文件最大大小
|
# 最大保存天数
|
||||||
max-size: 5MB
|
max-history: 7
|
||||||
|
# 每个文件最大大小
|
||||||
|
max-file-size: 5MB
|
||||||
#加密参数
|
#加密参数
|
||||||
jasypt:
|
jasypt:
|
||||||
encryptor:
|
encryptor:
|
||||||
@ -205,7 +183,7 @@ lili:
|
|||||||
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
|
#图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
|
||||||
effectiveTime: 300
|
effectiveTime: 300
|
||||||
#水印
|
#水印
|
||||||
watermark:
|
watermark: LILI-SHOP
|
||||||
#干扰项数量 最大2 默认0
|
#干扰项数量 最大2 默认0
|
||||||
interfereNum: 0
|
interfereNum: 0
|
||||||
#允许误差像素
|
#允许误差像素
|
||||||
@ -263,7 +241,7 @@ lili:
|
|||||||
data:
|
data:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
cluster-name: elasticsearch
|
cluster-name: elasticsearch
|
||||||
cluster-nodes: 192.168.2.126:9200
|
cluster-nodes: 192.168.2.122:9200
|
||||||
index:
|
index:
|
||||||
number-of-replicas: 0
|
number-of-replicas: 0
|
||||||
number-of-shards: 3
|
number-of-shards: 3
|
||||||
@ -272,7 +250,8 @@ lili:
|
|||||||
# account:
|
# account:
|
||||||
# username: elastic
|
# username: elastic
|
||||||
# password: LiLiShopES
|
# password: LiLiShopES
|
||||||
|
logstash:
|
||||||
|
server: 192.168.2.122:4560
|
||||||
rocketmq:
|
rocketmq:
|
||||||
promotion-topic: lili_promotion_topic
|
promotion-topic: lili_promotion_topic
|
||||||
promotion-group: lili_promotion_group
|
promotion-group: lili_promotion_group
|
||||||
@ -291,7 +270,7 @@ lili:
|
|||||||
notice-send-topic: lili_send_notice_topic
|
notice-send-topic: lili_send_notice_topic
|
||||||
notice-send-group: lili_send_notice_group
|
notice-send-group: lili_send_notice_group
|
||||||
rocketmq:
|
rocketmq:
|
||||||
name-server: 192.168.2.126:9876
|
name-server: 192.168.2.122:9876
|
||||||
producer:
|
producer:
|
||||||
group: lili_group
|
group: lili_group
|
||||||
send-message-timeout: 30000
|
send-message-timeout: 30000
|
||||||
@ -299,7 +278,7 @@ rocketmq:
|
|||||||
xxl:
|
xxl:
|
||||||
job:
|
job:
|
||||||
admin:
|
admin:
|
||||||
addresses: http://192.168.2.126:9001/xxl-job-admin
|
addresses: http://192.168.2.122:9001/xxl-job-admin
|
||||||
executor:
|
executor:
|
||||||
appname: xxl-job-executor-lilishop
|
appname: xxl-job-executor-lilishop
|
||||||
address:
|
address:
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
<customFields>{"appName":"${APP_NAME}"}</customFields>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
<!-- <root level="INFO">-->
|
|
||||||
<root>
|
<root>
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<appender-ref ref="FILE"/>
|
<appender-ref ref="FILE"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user