@@ -372,7 +372,6 @@ export class TaskService implements OnModuleInit {
}
async getCost(task: Task, user: Users) {
- // 先扣费,再执行任务
const number: number = await this.phoneListService.findCountByListId(task.listId)
// 费用 = 费率*需要发送量
const rate = new Decimal(String(user.rate))