123
This commit is contained in:
parent
461fefa8fd
commit
25478fc6d6
@ -149,7 +149,7 @@ namespace asg_form.Controllers
|
|||||||
if(isPassed == 2)
|
if(isPassed == 2)
|
||||||
{
|
{
|
||||||
task.status = "2";
|
task.status = "2";
|
||||||
user.Integral += task.money;
|
//user.Integral += task.money;
|
||||||
var user_done = await userManager.FindByIdAsync(task.userId.ToString());
|
var user_done = await userManager.FindByIdAsync(task.userId.ToString());
|
||||||
user_done.Integral += task.money;
|
user_done.Integral += task.money;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user