| | |
| | | case 1: |
| | | Meditation data1 = remoteMeditationService.getMeditationById(one.getBusinessId()).getData(); |
| | | appUserWalletRecord.setChangeType(2); |
| | | reason = "购买【"+data1.getMeditationTitle()+"】"; |
| | | reason = "购买疗愈【"+data1.getMeditationTitle()+"】"; |
| | | |
| | | break; |
| | | case 2: |
| | | Course data2 = remoteCourseService.getCourseById(one.getBusinessId()).getData(); |
| | | reason = "购买【"+data2.getCourseTitle()+"】"; |
| | | reason = "购买课程【"+data2.getCourseTitle()+"】"; |
| | | appUserWalletRecord.setChangeType(2); |
| | | // 增加用户与课程的关系表 |
| | | if (one.getGiveUserId()!=null){ |
| | |
| | | break; |
| | | case 3: |
| | | // 会员 |
| | | reason = "购买【"+one.getBuyContent()+"】"; |
| | | reason = "购买会员【"+one.getBuyContent()+"】"; |
| | | appUserWalletRecord.setChangeType(2); |
| | | break; |
| | | case 4: |
| | |
| | | case 1: |
| | | Meditation data1 = remoteMeditationService.getMeditationById(one.getBusinessId()).getData(); |
| | | appUserWalletRecord.setChangeType(2); |
| | | reason = "购买【"+data1.getMeditationTitle()+"】"; |
| | | reason = "购买疗愈【"+data1.getMeditationTitle()+"】"; |
| | | |
| | | break; |
| | | case 2: |
| | | Course data2 = remoteCourseService.getCourseById(one.getBusinessId()).getData(); |
| | | reason = "购买【"+data2.getCourseTitle()+"】"; |
| | | reason = "购买课程【"+data2.getCourseTitle()+"】"; |
| | | appUserWalletRecord.setChangeType(2); |
| | | // 增加用户与课程的关系表 |
| | | if (one.getGiveUserId()!=null){ |
| | |
| | | break; |
| | | case 3: |
| | | // 会员 |
| | | reason = "购买【"+one.getBuyContent()+"】"; |
| | | reason = "购买会员【"+one.getBuyContent()+"】"; |
| | | appUserWalletRecord.setChangeType(2); |
| | | break; |
| | | case 4: |