This commit is contained in:
2026-02-04 14:16:30 +03:00
commit 9c6adf8b73
40 changed files with 888 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Bx\Discount\Ajax;
use Wt\Core\Ajax\AAjaxHandler;
class BxDiscount extends AAjaxHandler
{
public function ajaxStart()
{
$this->getResponse()->addData(['method' => 'ajaxStart']);
}
public function test()
{
$this->getResponse()->addData(['method' => 'test', 'version' => app()::getInstance('bx.discount')->module()->getVersion()]);
return $this->getResponse();
}
}