Methods
检测结果是否为正常
Name | Type | Description |
---|---|---|
results |
Object | 服务端返回数据 |
Returns:
日期格式化
Name | Type | Description |
---|---|---|
date |
Date | 被格式化日期 |
format |
String | 格式 |
Returns:
XSS 检测
Name | Type | Description |
---|---|---|
str |
String | 被检测字符串 |
reg |
String | optional 正则表达式 |