first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/*
*权限节点模型
* */
namespace app\admin\model;
use app\admin\service\ModelService;
class AuthNode extends ModelService {
/**
* 绑定的数据表
* @var string
*/
protected $table = 'system_auth_node';
/**
* 保存授权信息
* @param $insertAll
* @return \think\response\Json
* @throws \Exception
*/
public function authorize($insertAll) {
$save = $this->saveAll($insertAll);
if (!empty($save)) return __success('保存成功!');
return __error('保存失败');
}
}