update sitemap and add wecommerace plugin page
This commit is contained in:
parent
96b9ad4baa
commit
1e99323ccb
|
@ -27,4 +27,17 @@ class Notification
|
||||||
$this->em->flush();
|
$this->em->flush();
|
||||||
return true;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -115,6 +115,11 @@
|
||||||
<lastmod>2023-11-10T16:17:43+00:00</lastmod>
|
<lastmod>2023-11-10T16:17:43+00:00</lastmod>
|
||||||
<priority>0.80</priority>
|
<priority>0.80</priority>
|
||||||
</url>
|
</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>
|
<url>
|
||||||
<loc>https://hesabix.ir/login</loc>
|
<loc>https://hesabix.ir/login</loc>
|
||||||
<lastmod>{{ timeNow }}</lastmod>
|
<lastmod>{{ timeNow }}</lastmod>
|
||||||
|
|
Loading…
Reference in a new issue