(listType IPListType, item *pb.IPItem)
| 39 | } |
| 40 | |
| 41 | func (this *ScriptAction) DeleteItem(listType IPListType, item *pb.IPItem) error { |
| 42 | return this.runAction("deleteItem", listType, item) |
| 43 | } |
| 44 | |
| 45 | func (this *ScriptAction) runAction(action string, listType IPListType, item *pb.IPItem) error { |
| 46 | // TODO 智能支持 .sh 脚本文件 |