This commit is contained in:
2025-10-29 15:32:26 +08:00
parent d90614805b
commit b7462657cd
78921 changed files with 2753938 additions and 71 deletions

View File

@@ -0,0 +1,35 @@
<?php
/**
*/
namespace app\event\addsite;
use app\model\member\Config;
/**
* 增加默认会员注册协议
*/
class AddRegisterAgreement
{
public function handle($param)
{
if (!empty($param['site_id'])) {
$document_model = new Config();
$content = '注册协议内容';
$res = $document_model->setRegisterDocument('注册协议', $content, $param['site_id'], 'shop');
return $res;
}
}
}