update sitemap and add wecommerace plugin page

This commit is contained in:
Hesabix 2024-01-20 16:44:40 +00:00
parent 96b9ad4baa
commit 1e99323ccb
2 changed files with 18 additions and 0 deletions

View file

@ -27,4 +27,17 @@ class Notification
$this->em->flush();
return true;
}
public function insert(string $message,string $url,User $user): bool
{
$item = new \App\Entity\Notification();
$item->setBid(null);
$item->setDateSubmit(time());
$item->setViewed(false);
$item->setUser($user);
$item->setMessage($message);
$item->setUrl($url);
$this->em->persist($item);
$this->em->flush();
return true;
}
}

View file

@ -115,6 +115,11 @@
<lastmod>2023-11-10T16:17:43+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hesabix.ir/front/apps/woocommerce</loc>
<lastmod>2023-11-10T16:17:43+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://hesabix.ir/login</loc>
<lastmod>{{ timeNow }}</lastmod>