修改 Graylog 分布式日志框架

This commit is contained in:
yovinchen 2024-01-10 17:29:02 +08:00
parent c16485dbfb
commit 49543f214f
38 changed files with 67 additions and 65 deletions

View File

@ -25,7 +25,7 @@ public class MqConst {
public static final String QUEUE_GOODS_LOWER = "xlcs.goods.lower";
/**
* 团长上下线
* 配送员上下线
*/
public static final String EXCHANGE_LEADER_DIRECT = "xlcs.leader.direct";
public static final String ROUTING_LEADER_UPPER = "xlcs.leader.upper";

View File

@ -5,7 +5,7 @@ import lombok.Getter;
@Getter
public enum OrderStatus {
//订单状态0->待付款1->待发货2->团长收货3->待用户收货已完成-1->已取消
//订单状态0->待付款1->待发货2->配送员收货3->待用户收货已完成-1->已取消
UNPAID(0, "待支付"),
WAITING_DELEVER(1, "待发货"),
WAITING_TAKE(2, "待提货"),

View File

@ -10,7 +10,7 @@ import lombok.Getter;
@Getter
public enum UserType {
USER(0, "会员"),
LEADER(1, "团长");
LEADER(1, "配送员");
@EnumValue
private Integer code;

View File

@ -20,7 +20,7 @@ public class OrderDeliver extends BaseEntity {
@TableField("deliver_date")
private Date deliverDate;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
@TableField("leader_id")
private Long leaderId;
@ -36,7 +36,7 @@ public class OrderDeliver extends BaseEntity {
@TableField("driver_phone")
private String driverPhone;
@ApiModelProperty(value = "状态0默认1已发货2团长收货)")
@ApiModelProperty(value = "状态0默认1已发货2配送员收货)")
@TableField("status")
private Integer status;

View File

@ -73,7 +73,7 @@ public class OrderInfo extends BaseEntity {
@TableField("source_type")
private Integer sourceType;
@ApiModelProperty(value = "订单状态【0->待付款1->待发货2->待团长收货3->待用户收货,已完成;-1->已取消】")
@ApiModelProperty(value = "订单状态【0->待付款1->待发货2->待配送员收货3->待用户收货,已完成;-1->已取消】")
@TableField("order_status")
private OrderStatus orderStatus;
@ -81,15 +81,15 @@ public class OrderInfo extends BaseEntity {
@TableField("process_status")
private ProcessStatus processStatus;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
@TableField("leader_id")
private Long leaderId;
@ApiModelProperty(value = "团长名称")
@ApiModelProperty(value = "配送员名称")
@TableField("leader_name")
private String leaderName;
@ApiModelProperty(value = "团长手机")
@ApiModelProperty(value = "配送员手机")
@TableField("leader_phone")
private String leaderPhone;
@ -162,7 +162,7 @@ public class OrderInfo extends BaseEntity {
@TableField("ware_id")
private Long wareId;
@ApiModelProperty(value = "团长佣金")
@ApiModelProperty(value = "配送员佣金")
@TableField("commission_amount")
private BigDecimal commissionAmount;

View File

@ -61,7 +61,7 @@ public class OrderItem extends BaseEntity {
@TableField("split_total_amount")
private BigDecimal splitTotalAmount;
@ApiModelProperty(value = "团长id冗余")
@ApiModelProperty(value = "配送员id冗余")
@TableField("leader_id")
private Long leaderId;

View File

@ -20,7 +20,7 @@ public class OrderReturnApply extends BaseEntity {
@TableField("order_id")
private Long orderId;
@ApiModelProperty(value = "团长门店id")
@ApiModelProperty(value = "配送员门店id")
@TableField("leader_id")
private Long leaderId;

View File

@ -16,7 +16,7 @@ public class LeaderAccount extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
@TableField("leader_id")
private Long leaderId;

View File

@ -14,7 +14,7 @@ public class LeaderBank extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
@TableField("leader_id")
private String leaderId;

View File

@ -18,7 +18,7 @@ public class LeaderBill extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
@TableField("leader_id")
private Long leaderId;

View File

@ -14,7 +14,7 @@ public class LeaderUser extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
@TableField("leader_id")
private String leaderId;

View File

@ -16,7 +16,7 @@ public class LeaderWithdraw extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
@TableField("leader_id")
private String leaderId;

View File

@ -18,7 +18,7 @@ public class UserDelivery extends BaseEntity {
@TableField("user_id")
private Long userId;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
@TableField("leader_id")
private Long leaderId;

View File

@ -24,7 +24,7 @@ public class OrderConfirmVo implements Serializable {
@ApiModelProperty(value = "预生产订单号")
private String orderNo;
@ApiModelProperty(value = "用户对应的团长地址")
@ApiModelProperty(value = "用户对应的配送员地址")
private LeaderAddressVo leaderAddressVo;
@ApiModelProperty(value = "购物项列表")

View File

@ -18,7 +18,7 @@ public class OrderDeliverVo implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd")
private Date deliverDate;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
private Long leaderId;
@ApiModelProperty(value = "司机id")
@ -30,7 +30,7 @@ public class OrderDeliverVo implements Serializable {
@ApiModelProperty(value = "司机电话")
private String driverPhone;
@ApiModelProperty(value = "状态0默认1已发货2团长收货)")
@ApiModelProperty(value = "状态0默认1已发货2配送员收货)")
private Integer status;
}

View File

@ -22,10 +22,10 @@ public class OrderMqVo implements Serializable {
@ApiModelProperty(value = "订单号")
private String orderNo;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
private Long leaderId;
@ApiModelProperty(value = "团长佣金")
@ApiModelProperty(value = "配送员佣金")
private BigDecimal commissionAmount;
@ApiModelProperty(value = "订单项列表")

View File

@ -17,7 +17,7 @@ public class OrderQueryVo {
@ApiModelProperty(value = "订单状态")
private OrderStatus orderStatus;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
private Long leaderId;
@ApiModelProperty(value = "仓库id")

View File

@ -12,7 +12,7 @@ public class OrderSubmitVo {
@ApiModelProperty(value = "用户id")
private Long userId;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
private Long leaderId;
@ApiModelProperty(value = "收货人姓名")

View File

@ -19,13 +19,13 @@ public class LeaderAddressVo {
@ApiModelProperty(value = "用户id")
private Long userId;
@ApiModelProperty(value = "团长id")
@ApiModelProperty(value = "配送员id")
private Long leaderId;
@ApiModelProperty(value = "团长名称")
@ApiModelProperty(value = "配送员名称")
private String leaderName;
@ApiModelProperty(value = "团长电话")
@ApiModelProperty(value = "配送员电话")
private String leaderPhone;
@ApiModelProperty(value = "仓库id")

View File

@ -9,7 +9,7 @@ import io.swagger.annotations.ApiModelProperty;
@Data
public class LeaderBillQueryVo {
@ApiModelProperty(value = "团长ID")
@ApiModelProperty(value = "配送员ID")
private String leaderId;
@ApiModelProperty(value = "账单类型")

View File

@ -27,7 +27,7 @@ public class UserLoginVo implements Serializable {
@ApiModelProperty(value = "是否新用户")
private Integer isNew;
@ApiModelProperty(value = "当前登录用户团长id")
@ApiModelProperty(value = "当前登录用户配送员id")
private Long leaderId;
@ApiModelProperty(value = "仓库id")

View File

@ -85,7 +85,8 @@
<appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -140,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -140,7 +140,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -90,7 +90,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
//获取用户id
Long userId = AuthContextHolder.getUserId();
//获取用户对应团长信息
//获取用户对应配送员信息
LeaderAddressVo leaderAddressVo = userFeignClient.getUserAddressByUserId(userId);
//获取购物车里面选中的商品
@ -187,7 +187,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
if (CollectionUtils.isEmpty(cartInfoList)) {
throw new xlcsException(ResultCodeEnum.DATA_ERROR);
}
//查询用户提货点和团长信息
//查询用户提货点和配送员信息
Long userId = AuthContextHolder.getUserId();
LeaderAddressVo leaderAddressVo = userFeignClient.getUserAddressByUserId(userId);
if (leaderAddressVo == null) {
@ -243,8 +243,8 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
orderInfo.setUserId(userId);//用户id
orderInfo.setOrderNo(orderParamVo.getOrderNo()); //订单号 唯一标识
orderInfo.setOrderStatus(OrderStatus.UNPAID); //订单状态生成成功未支付
orderInfo.setLeaderId(orderParamVo.getLeaderId());//团长id
orderInfo.setLeaderName(leaderAddressVo.getLeaderName());//团长名称
orderInfo.setLeaderId(orderParamVo.getLeaderId());//配送员id
orderInfo.setLeaderName(leaderAddressVo.getLeaderName());//配送员名称
orderInfo.setLeaderPhone(leaderAddressVo.getLeaderPhone());
orderInfo.setTakeName(leaderAddressVo.getTakeName());
@ -272,7 +272,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
orderInfo.setCouponAmount(couponAmount);
orderInfo.setTotalAmount(totalAmount);
//计算团长佣金
//计算配送员佣金
BigDecimal profitRate = new BigDecimal(0);//orderSetService.getProfitRate();
BigDecimal commissionAmount = orderInfo.getTotalAmount().multiply(profitRate);
orderInfo.setCommissionAmount(commissionAmount);

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -86,7 +86,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -141,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -18,7 +18,7 @@ import javax.annotation.Resource;
* @author yovinchen
* @Create 2023/9/25 12:23
*/
@Api(tags = "团长接口")
@Api(tags = "配送员接口")
@RestController
@RequestMapping("api/user/leader")
public class LeaderAddressController {

View File

@ -77,9 +77,9 @@ public class LoginWxService {
userService.save(user);
}
//5 根据userId查询提货点和团长信息
//5 根据userId查询提货点和配送员信息
////提货点 user表 user_delivery表
////团长 leader表
////配送员 leader表
LeaderAddressVo leaderAddressVo = userService.getLeaderAddressByUserId(user.getId());
//6 使用JWT工具根据userId和userName生成token字符串

View File

@ -22,7 +22,7 @@ public interface UserService extends IService<User> {
User getUserByOpenId(String openid);
/**
* 根据userId查询提货点和团长信息
* 根据userId查询提货点和配送员信息
*
* @param id
* @return

View File

@ -38,16 +38,16 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
return user;
}
//5 根据userId查询提货点和团长信息
//5 根据userId查询提货点和配送员信息
@Override
public LeaderAddressVo getLeaderAddressByUserId(Long userId) {
//根据userId查询用户默认的团长id
//根据userId查询用户默认的配送员id
UserDelivery userDelivery = userDeliveryMapper.selectOne(new LambdaQueryWrapper<UserDelivery>().eq(UserDelivery::getUserId, userId)
.eq(UserDelivery::getIsDefault, 1));
if (userDelivery == null) {
return null;
}
//拿着上面查询团长id查询leader表查询团长其他信息
//拿着上面查询配送员id查询leader表查询配送员其他信息
Leader leader = leaderMapper.selectById(userDelivery.getLeaderId());
//封装数据到LeaderAddressVo
LeaderAddressVo leaderAddressVo = new LeaderAddressVo();

View File

@ -85,7 +85,8 @@
<appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!--设置文件命名格式-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/info/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!-- <FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${POD_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>-->
<FileNamePattern>${LOG_HOME}/${APP_NAME}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log</FileNamePattern>
<!--设置日志文件大小超过就重新生成文件默认10M-->
<maxFileSize>${LOG_FILE_MAX_SIZE}</maxFileSize>
<!--日志文件保留天数默认30天-->
@ -140,7 +141,7 @@
</logger>
<appender name="GELF" class="biz.paluch.logging.gelf.logback.GelfLogbackAppender">
<!--GrayLog服务地址-->
<host>udp:124.70.87.134</host>
<host>udp:10.211.55.50</host>
<!--GrayLog服务端口-->
<port>12201</port>
<version>1.1</version>

View File

@ -78,7 +78,7 @@
<view class="gg-order-item">
<image :src="invite" class="gg-svg-icon"></image>
<view class="u-font-xs u-p-l-5">邀新团长有奖</view>
<view class="u-font-xs u-p-l-5">邀新配送员有奖</view>
</view>
<view class="gg-order-item">
@ -122,7 +122,7 @@
<u-col span="3">
<view class="gg-order-item">
<view class="iconfont icon-yonghu"></view>
<view class="u-font-xs">成为团长</view>
<view class="u-font-xs">成为配送员</view>
</view>
</u-col>
</u-row>