| | |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.ruoyi.common.utils.AliSmsUtil; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.VoiceNotifyMain; |
| | | import com.ruoyi.framework.web.service.TokenService; |
| | | import com.ruoyi.system.dto.AddBuyerCompanyInfoDto; |
| | | import com.ruoyi.system.dto.AddScheduleDto; |
| | |
| | | messageService.addMessage("买家申请了交易", company.getUserId(), orderId,1); |
| | | |
| | | TbUser user = userService.getById(company.getUserId()); |
| | | AliSmsUtil.sendSuccessMessageSeller(user.getPhone()); |
| | | // AliSmsUtil.sendSuccessMessageSeller(user.getPhone()); |
| | | try { |
| | | VoiceNotifyMain.call(user.getPhone()); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | } |
| | | return R.ok(orderId); |
| | | } |
| | | |