233
This commit is contained in:
parent
e64bc86e52
commit
461fefa8fd
@ -150,7 +150,8 @@ namespace asg_form.Controllers
|
||||
{
|
||||
task.status = "2";
|
||||
user.Integral += task.money;
|
||||
user.Integral = user.Integral > 200 ? 200 : user.Integral;
|
||||
var user_done = await userManager.FindByIdAsync(task.userId.ToString());
|
||||
user_done.Integral += task.money;
|
||||
}
|
||||
if (isPassed == 3)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user