Download the PHP package uniondrug/internal-log without Composer
On this page you can find all versions of the php package uniondrug/internal-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package internal-log
内审中心日志
how to do
-
修改
composer.json文件, 选择1.x版本 -
执行
composer update更新依赖版 -
修改
config/app.php应用 -
添加
config/internalLog.php - 在
ServiceTrait中添加$internalLog的@property定义
how to run
相关接口:
-
setModule()(必须)设置模块名称
-
setLogDate()(必须)发送日志时间
-
setMemberId($memberId)(必须)操作人 memberId
-
setName($name)(必须)操作人姓名
-
setAction($action)(必须)动作(CRUD) C-添加数据 D删除数据 U修改数据 R-查询数据
-
setRelationId($relationId)(必须)关联资源Id
-
setRelationType($relationType)(必须)关联资源类型
-
setOpenId()第三方 openId
-
setMobile($mobile)操作人手机号码
-
setIp()ip地址
-
setLon($lon)经度
-
setLat($lat)纬度
-
setOptInfo($optInfo)操作信息
-
setRelationDesc($relationDesc)关联资源说明
-
setExtra($extra)关联资源自定义说明
-
setTerminalId($terminalId)设备Id
-
setTerminalType($terminalType)设备类型
-
setTerminalModel($terminalModel)终端型号
-
setTransId()调用链Id
-
toJson()结果转JSON
-
senderServer()(必须)提交日志