แก้บัก ส่ง noti
This commit is contained in:
@@ -312,7 +312,7 @@ namespace TodoAPI2.Models
|
||||
select i).FirstOrDefault();
|
||||
string sql = $@"
|
||||
insert into notifications(id,type,notifiable_type,notifiable_id,data,created_at)
|
||||
values('{Guid.NewGuid().ToString()}','App\Notifications\WorkflowNotification','App\Models\User',{noti_to_user_id.ToString()},@data,NOW()now()+interval'7h')
|
||||
values('{Guid.NewGuid().ToString()}','App\Notifications\WorkflowNotification','App\Models\User',{noti_to_user_id.ToString()},@data,now()+interval'7h')
|
||||
";
|
||||
DataOfNotification d = new DataOfNotification();
|
||||
d.title = noti_message.Replace("{0}", owner_info.fullname);
|
||||
|
||||
Reference in New Issue
Block a user