release: 新手任务积分

release-2024-08-08
huangyw 4 months ago
parent dba6eb7df0
commit 93d615c665

@ -8,44 +8,53 @@ package constants;
**/ **/
public class TaskPointIdConstants { public class TaskPointIdConstants {
// 新手欢迎奖励 // 新手欢迎奖励
public static final String NEW_USER_WELCOME_AWARD = "1"; public static final String NEW_USER_WELCOME_AWARD = "1";
// 修改头像 // 修改头像
public static final String MODIFY_AVATAR = "2"; public static final String MODIFY_AVATAR = "2";
// 修改昵称 // 修改昵称
public static final String MODIFY_NICKNAME = "3"; public static final String MODIFY_NICKNAME = "3";
// 完善个人信息 todo // 修改签名
public static final String COMPLETE_PERSONAL_INFORMATION = "4"; public static final String MODIFY_SIGNATURE = "4";
// 成功关注1位用户 // 完善生日
public static final String SUCCESS_FOLLOW_ONE_USER = "5"; public static final String MODIFY_BIRTHDAY = "5";
// 首次分享期刊 todo // 完善性别
public static final String FIRST_SHARE_JOURNAL = "6"; public static final String MODIFY_SEX = "6";
// 首次收藏期刊 // 开通会员
public static final String FIRST_COLLECT_JOURNAL = "7"; public static final String BUY_MEMBER = "7";
// 首次购物成功 todo // 成功关注1位用户
public static final String FIRST_SHOPPING_SUCCESS = "8"; public static final String SUCCESS_FOLLOW_ONE_USER = "8";
// 首次完成评价 todo // 首次收藏期刊
public static final String FIRST_COMPLETE_COMMENT = "9"; public static final String FIRST_COLLECT_JOURNAL = "9";
// 开通会员 todo
public static final String OPEN_MEMBER = "10";
// 以下不需要校验是否已做过
// 每日登录 todo // 每日登录 todo
public static final String DAILY_LOGIN = "11"; public static final String DAILY_LOGIN = "10";
// 每日签到 todo // 每日签到 todo
public static final String DAILY_SIGN = "12"; public static final String DAILY_SIGN = "11";
// 分享期刊 todo // 分享期刊 todo
public static final String SHARE_JOURNAL = "13"; public static final String SHARE_JOURNAL = "12";
// 邀请好友 todo // 新用户邀请 todo
public static final String INVITE_FRIEND = "14"; public static final String NEW_USER_INVITE = "13";
// 好友首次下单成功 todo // 每日评论 todo
public static final String FRIEND_FIRST_ORDER_SUCCESS = "15"; public static final String DAILY_COMMENT = "14";
// 购买天数达标 todo // 动态发布 todo
public static final String BUY_DAYS_REACHED = "16"; public static final String DYNAMIC_PUBLISH = "15";
// 积分抽奖 todo
public static final String POINT_LOTTERY = "17"; // 连续签到3天 todo
// 积分商城 todo public static final String DAILY_SIGN_3 = "16";
public static final String POINT_SHOP = "18"; // 连续签到7天 todo
public static final String DAILY_SIGN_7 = "17";
// 连续签到30天 todo
public static final String DAILY_SIGN_30 = "18";
// 邀请用户3人 todo
public static final String INVITE_USER_3 = "19";
// 邀请用户6人 todo
public static final String INVITE_USER_6 = "20";
// 邀请用户10人 todo
public static final String INVITE_USER_10 = "21";
// 邀请用户20人 todo
public static final String INVITE_USER_20 = "22";
} }

@ -73,11 +73,10 @@ public class MembershipController extends BaseController {
@ApiImplicitParams(value = { @ApiImplicitParams(value = {
@ApiImplicitParam(name = "code", value = "会员码", required = true, dataType = "String", paramType = "query") @ApiImplicitParam(name = "code", value = "会员码", required = true, dataType = "String", paramType = "query")
}) })
public Result<Void> bindMembershipCode( public Result<String> bindMembershipCode(
@RequestHeader(value = "Authorization", required = true) String authorization, @RequestHeader(value = "Authorization", required = true) String authorization,
@NotNull String code) { @NotNull String code) {
membershipCodeService.bindMembershipCode(authorization, code); return Result.success(membershipCodeService.bindMembershipCode(authorization, code));
return Result.success();
} }
@ApiOperation(value = "3.查询会员码", notes = "仅限admin权限用户调用") @ApiOperation(value = "3.查询会员码", notes = "仅限admin权限用户调用")

@ -118,7 +118,7 @@ public class MyController extends BaseController {
@ApiOperation(value = "2.更新个人信息", notes = "游客无法编辑个人信息") @ApiOperation(value = "2.更新个人信息", notes = "游客无法编辑个人信息")
@PutMapping("/userInfo") @PutMapping("/userInfo")
@GlobalInterceptor(checkAppUserLogin = true) @GlobalInterceptor(checkAppUserLogin = true)
public Result<Void> updateUserInfo(@RequestHeader(value = "Authorization", required = true) String authorization, public Result<List<String>> updateUserInfo(@RequestHeader(value = "Authorization", required = true) String authorization,
@VerifyParam(required = true) @RequestBody UserInfoUpdateDto userInfoUpdateDto) { @VerifyParam(required = true) @RequestBody UserInfoUpdateDto userInfoUpdateDto) {
UserLoginDto userLoginDto = getUserLoginDto(authorization); UserLoginDto userLoginDto = getUserLoginDto(authorization);
UserInfo user = userInfoService.findById(userLoginDto.getUserId()); UserInfo user = userInfoService.findById(userLoginDto.getUserId());
@ -138,6 +138,15 @@ public class MyController extends BaseController {
// 修改了昵称 // 修改了昵称
boolean isChangeNickName = !Objects.equals(nickName, user.getNickName()); boolean isChangeNickName = !Objects.equals(nickName, user.getNickName());
// 修改了签名
boolean isChangeSignature = !Objects.equals(userInfoUpdateDto.getSignature(), user.getSignature());
// 修改了生日
boolean isChangeBirthDay = !Objects.equals(userInfoUpdateDto.getBirthDay(), user.getBirthday());
// 修改了性别
boolean isChangeSex = !Objects.equals(userInfoUpdateDto.getSex(), user.getSex());
if (!StringTools.isEmpty(nickName)) { if (!StringTools.isEmpty(nickName)) {
user.setNickName(nickName); user.setNickName(nickName);
rabbitTemplate.convertAndSend("userInfoCommentCache", userLoginDto.getUserId()); rabbitTemplate.convertAndSend("userInfoCommentCache", userLoginDto.getUserId());
@ -159,11 +168,28 @@ public class MyController extends BaseController {
user.setModifyTime(new Date()); user.setModifyTime(new Date());
userInfoService.update(user); userInfoService.update(user);
List<String> resultList = new ArrayList<>();
if(isChangeNickName) { if(isChangeNickName) {
// 修改了昵称 // 修改了昵称
userPointLogService.addByTaskNew(TaskPointIdConstants.MODIFY_NICKNAME, user.getNickName()); Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.MODIFY_NICKNAME, authorization);
resultList.add("修改了昵称,积分增加" + point + "分");
} }
return Result.success(); if(isChangeSignature) {
// 修改了签名
Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.MODIFY_SIGNATURE, authorization);
resultList.add("修改了签名,积分增加" + point + "分");
}
if(isChangeBirthDay) {
// 修改了生日
Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.MODIFY_BIRTHDAY, authorization);
resultList.add("修改了签名,积分增加" + point + "分");
}
if(isChangeSex) {
// 修改了性别
Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.MODIFY_SEX, authorization);
resultList.add("修改了签名,积分增加" + point + "分");
}
return Result.success(resultList);
} }
@ApiOperation(value = "3.上传个人头像", notes = "图片存入S3桶为indie目录为 user/avatar/, 缩略图大小为200X200") @ApiOperation(value = "3.上传个人头像", notes = "图片存入S3桶为indie目录为 user/avatar/, 缩略图大小为200X200")

@ -11,6 +11,9 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam; 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 java.util.ArrayList;
import java.util.List;
import java.util.Objects; import java.util.Objects;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -39,7 +42,7 @@ public class UserCollectController {
@ApiImplicitParam(name = "collectType", value = "0:歌曲1:期刊2:关注3:黑名单4:粉丝5:点赞6:专辑", required = true)}) @ApiImplicitParam(name = "collectType", value = "0:歌曲1:期刊2:关注3:黑名单4:粉丝5:点赞6:专辑", required = true)})
@PostMapping @PostMapping
@GlobalInterceptor(checkAppUserLogin = true) @GlobalInterceptor(checkAppUserLogin = true)
public Result<Void> addCollect( public Result<List<String>> addCollect(
@RequestHeader(value = "Authorization", required = true) String authorization, @RequestHeader(value = "Authorization", required = true) String authorization,
@VerifyParam(required = true) @RequestParam("objectId") String objectId, @VerifyParam(required = true) @RequestParam("objectId") String objectId,
@VerifyParam(required = true) @RequestParam("collectType") Integer collectType) { @VerifyParam(required = true) @RequestParam("collectType") Integer collectType) {
@ -47,19 +50,21 @@ public class UserCollectController {
//userCollectService.saveCollect(loginDto.getUserId(), objectId, collectType); //userCollectService.saveCollect(loginDto.getUserId(), objectId, collectType);
userCollectInfoService.saveCollect(loginDto.getUserId(), objectId, collectType); userCollectInfoService.saveCollect(loginDto.getUserId(), objectId, collectType);
List<String> result = new ArrayList<>();
if(Objects.equals(collectType, 2)) { if(Objects.equals(collectType, 2)) {
// 初次关注某用户 // 首次关注某用户
userPointLogService.addByTaskNew(TaskPointIdConstants.SUCCESS_FOLLOW_ONE_USER, authorization); Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.SUCCESS_FOLLOW_ONE_USER, authorization);
result.add("初次关注用户,积分增加" + point + "分");
} }
if(Objects.equals(collectType, 1)) { if(Objects.equals(collectType, 1)) {
// 首次收藏期刊 // 首次收藏期刊
userPointLogService.addByTaskNew(TaskPointIdConstants.FIRST_COLLECT_JOURNAL, authorization); Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.FIRST_COLLECT_JOURNAL, authorization);
result.add("首次收藏期刊,积分增加" + point + "分");
} }
return Result.success(); return Result.success(result);
} }
//@ApiOperation(value = "2.取消 喜欢歌曲/收藏期刊/关注/黑名单/点赞")
@ApiOperation(value = "2.取消 喜欢歌曲/收藏期刊/关注/黑名单/粉丝") @ApiOperation(value = "2.取消 喜欢歌曲/收藏期刊/关注/黑名单/粉丝")
@ApiImplicitParams({ @ApiImplicitParams({
//@ApiImplicitParam(name = "objectId", value = "喜欢歌曲/收藏期刊/关注某用户/某用户列入黑名单/点赞评论的id", required = true), //@ApiImplicitParam(name = "objectId", value = "喜欢歌曲/收藏期刊/关注某用户/某用户列入黑名单/点赞评论的id", required = true),

@ -8,6 +8,7 @@ import com.luoo.user.dto.point.UserPointLogSearchDto;
import com.luoo.user.pojo.MembershipCode; import com.luoo.user.pojo.MembershipCode;
import com.luoo.user.pojo.UserInfo; import com.luoo.user.pojo.UserInfo;
import com.luoo.user.pojo.UserPointLog; import com.luoo.user.pojo.UserPointLog;
import constants.TaskPointIdConstants;
import dto.UserLoginDto; import dto.UserLoginDto;
import enums.MembershipEnums; import enums.MembershipEnums;
import enums.PointEnums; import enums.PointEnums;
@ -58,12 +59,15 @@ public class MembershipCodeService {
private final UserInfoDao userInfoDao; private final UserInfoDao userInfoDao;
private final UserPointLogService userPointLogService;
public MembershipCodeService(JwtUtil jwtUtil, IdWorker idWorker, public MembershipCodeService(JwtUtil jwtUtil, IdWorker idWorker,
MembershipCodeDao membershipCodeDao, UserInfoDao userInfoDao) { MembershipCodeDao membershipCodeDao, UserInfoDao userInfoDao, UserPointLogService userPointLogService) {
this.jwtUtil = jwtUtil; this.jwtUtil = jwtUtil;
this.idWorker = idWorker; this.idWorker = idWorker;
this.membershipCodeDao = membershipCodeDao; this.membershipCodeDao = membershipCodeDao;
this.userInfoDao = userInfoDao; this.userInfoDao = userInfoDao;
this.userPointLogService = userPointLogService;
} }
/** /**
@ -118,7 +122,7 @@ public class MembershipCodeService {
* @param code * @param code
*/ */
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void bindMembershipCode(String token, String code) { public String bindMembershipCode(String token, String code) {
UserLoginDto userLoginDto = jwtUtil.getUserLoginDto(token); UserLoginDto userLoginDto = jwtUtil.getUserLoginDto(token);
MembershipCode membershipCode = membershipCodeDao.findMembershipCodeByCodeAndStatus(code, MembershipCode membershipCode = membershipCodeDao.findMembershipCodeByCodeAndStatus(code,
MembershipEnums.CREATED.getCode()); MembershipEnums.CREATED.getCode());
@ -134,6 +138,13 @@ public class MembershipCodeService {
// 处理用户表 // 处理用户表
UserInfo userInfo = userInfoDao.findById(userLoginDto.getUserId()).get(); UserInfo userInfo = userInfoDao.findById(userLoginDto.getUserId()).get();
String result = "";
if(userInfo.getVipStatus() == UserVipStatusEnum.INITIAL.getCode()) {
// 首次开通会员
Integer point = userPointLogService.addByTaskNew(TaskPointIdConstants.BUY_MEMBER, token);
result = "首次开通会员,积分增加" + point + "分";
}
// 永久会员码 // 永久会员码
if(Objects.equals(membershipCode.getLife(), PointEnums.MEMBERSHIP_LIFE.getCode())) { if(Objects.equals(membershipCode.getLife(), PointEnums.MEMBERSHIP_LIFE.getCode())) {
userInfo.setVipStatus(UserVipStatusEnum.LIFE.getCode()); userInfo.setVipStatus(UserVipStatusEnum.LIFE.getCode());
@ -154,7 +165,7 @@ public class MembershipCodeService {
} }
userInfoDao.save(userInfo); userInfoDao.save(userInfo);
return result;
} }
public PageResult<MembershipCode> getMembershipCodeList(String token, Integer page, Integer size, public PageResult<MembershipCode> getMembershipCodeList(String token, Integer page, Integer size,

@ -77,16 +77,19 @@ public class UserPointLogService {
* @param taskPointId ID * @param taskPointId ID
* @param token tokenID * @param token tokenID
*/ */
public void addByTaskNew(String taskPointId, String token) { public Integer addByTaskNew(String taskPointId, String token) {
// todo 缓存优化
UserLoginDto userLoginDto = jwtUtil.getUserLoginDto(token); UserLoginDto userLoginDto = jwtUtil.getUserLoginDto(token);
// 新手任务,只触发一次 // 新手任务,只触发一次
// if (!userPointLogDao.findUserPointLogByUserIdAndTaskPointId(userLoginDto.getUserId(), if (!userPointLogDao.findUserPointLogByUserIdAndTaskPointId(userLoginDto.getUserId(),
// taskPointId).isEmpty()) { taskPointId).isEmpty()) {
// return; return 0;
// } }
addByTask(taskPointId, userLoginDto); addByTask(taskPointId, userLoginDto);
TaskPoint taskPoint = taskPointDao.findById(taskPointId).get();
return taskPoint.getScore();
} }
/** /**

@ -52,76 +52,27 @@ create table tb_task_point
valid tinyint 1 comment '是否生效 1-生效 2-不生效' valid tinyint 1 comment '是否生效 1-生效 2-不生效'
) comment '任务积分配置表'; ) comment '任务积分配置表';
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('1', 1, 1, '新手欢迎奖励', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('10', 10, 2, '每日登录', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('1', 1, 1, '新手欢迎奖励', '2024-07-24 08:57:28', '2024-07-24 08:57:28', INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('11', 11, 2, '每日签到', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
'1796003413067173888', '1796003413067173888'); INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('12', 12, 2, '分享期刊', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('13', 13, 2, '新用户邀请', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('14', 14, 2, '每日评论', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('10', 10, 1, '开通会员', '2024-07-24 08:57:28', '2024-07-24 08:57:28', INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('15', 15, 2, '动态发布', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
'1796003413067173888', '1796003413067173888'); INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('16', 16, 3, '连续签到3天', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('17', 17, 3, '连续签到7天', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('18', 18, 3, '连续签到30天', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('11', 11, 2, '每日登录', '2024-07-24 08:57:28', '2024-07-24 08:57:28', INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('19', 19, 3, '邀请用户3人', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
'1796003413067173888', '1796003413067173888'); INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('2', 2, 1, '修改头像', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('20', 20, 3, '邀请用户6人', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('21', 21, 3, '邀请用户10人', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('12', 12, 2, '每日签到', '2024-07-24 08:57:28', '2024-07-24 08:57:28', INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('22', 22, 3, '邀请用户20人', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
'1796003413067173888', '1796003413067173888'); INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('3', 3, 1, '修改昵称', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('4', 4, 1, '修改签名', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('5', 5, 1, '完善生日', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('13', 13, 2, '分享期刊', '2024-07-24 08:57:28', '2024-07-24 08:57:28', INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('6', 6, 1, '完善性别', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
'1796003413067173888', '1796003413067173888'); INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('7', 7, 1, '开通会员', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('8', 8, 1, '关注1位雀乐用户', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
`create_user`, `update_user`) INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`, `create_user`, `update_user`, `valid`) VALUES ('9', 9, 1, '收藏一期期刊', '2024-07-31 14:23:58', '2024-07-31 14:23:58', NULL, NULL, 1);
VALUES ('14', 14, 2, '邀请好友', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('15', 15, 2, '好友首次下单成功', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('16', 16, 2, '购买天数达标', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('2', 2, 1, '修改头像', '2024-07-24 08:57:28', '2024-07-24 08:57:28', '1796003413067173888',
'1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('3', 3, 1, '修改昵称', '2024-07-24 08:57:28', '2024-07-24 08:57:28', '1796003413067173888',
'1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('4', 4, 1, '完善个人信息', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('5', 5, 1, '成功关注1位用户', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('6', 6, 1, '首次分享期刊', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('7', 7, 1, '首次收藏期刊', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('8', 8, 1, '首次购物成功', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('9', 9, 1, '首次完成评价', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('17', -1, 2, '积分抽奖', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');
INSERT INTO `tb_task_point` (`id`, `score`, `type`, `description`, `create_time`, `update_time`,
`create_user`, `update_user`)
VALUES ('18', -1, 2, '积分商城', '2024-07-24 08:57:28', '2024-07-24 08:57:28',
'1796003413067173888', '1796003413067173888');

Loading…
Cancel
Save