\serviceLogService

操作日志服务 Class LogService

Summary

Methods
Properties
Constants
write()
No public properties found
No constants found
db()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

write()

write(string  $action = '行为', string  $content = "内容描述") : boolean

写入操作日志

Parameters

string $action
string $content

Returns

boolean

db()

db() : \think\db\Query

获取数据操作对象

Returns

\think\db\Query