17.1.83 • Published 2 years ago

@sumor/recruit v17.1.83

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

@sumor/recruit

安装

通过 npm 安装:

$ npm install --save @sumor/recruit

使用说明

ES6方式

//例如要访问的程序路径为level1.level2.level3
import {level1} from '@sumor/recruit';

level1.level2.level3('parameter1');

Node.js CommonJS方式

//例如要访问的程序路径为level1.level2.level3
const {level1} = require('@sumor/recruit');

level1.level2.level3('parameter1');

接口文档

api.accessUrl(parameters) 入口链接

类型

同步函数

参数
  • code <String> 代码

api.channel.create(parameters) 创建渠道

类型

同步函数

参数
  • name <String> 名称

api.channel.delete(parameters) 删除渠道

类型

同步函数

参数
  • id <Array> 渠道ID

api.channel.edit(parameters) 编辑职位

类型

同步函数

参数
  • id <String> 职位ID
  • title <String> 职位名称
  • desc <String> 职位描述
  • requirement <String> 职位要求
  • company <String> 公司名称
  • location <String> 工作地点
  • salary_from <Number> 月薪起始范围
  • salary_to <Number> 月薪截止范围

api.channel.query(parameters) 查看渠道列表

类型

同步函数

参数
  • term 查询条件
  • skip <Number> 跳过条数
  • top <Number> 条数
  • sort <String> 排序规则

api.channel.read(parameters) 获取渠道详情

类型

同步函数

参数
  • id 编号

api.chat.create(parameters) 发送消息

类型

同步函数

参数
  • type <String> 记录类型
  • message <String> 消息内容
  • to <String> 接收方

api.chat.info(parameters) 查看会话基本信息

类型

同步函数

参数
  • target <String> 对象ID

api.chat.list(parameters) 查看会话列表

类型

同步函数

参数
  • term 查询条件
  • skip <Number> 跳过条数
  • top <Number> 条数
  • sort <String> 排序规则

api.chat.session(parameters) 查看会话内容

类型

同步函数

参数
  • target <String> 对象ID
  • term 查询条件
  • skip <Number> 跳过条数
  • top <Number> 条数
  • sort <String> 排序规则

api.distribute.copy(parameters) 复制分发内容

类型

同步函数

参数
  • id <Array> 信息ID

api.distribute.mark(parameters) 标记分发内容

类型

同步函数

参数
  • id <Array> 信息ID

api.distribute.query(parameters) 查看职位列表

类型

同步函数

参数
  • term 查询条件
  • skip <Number> 跳过条数
  • top <Number> 条数
  • sort <String> 排序规则

api.post.create(parameters) 发布信息

类型

同步函数

参数
  • content <String> 内容

api.post.delete(parameters) 删除信息

类型

同步函数

参数
  • id <Array> 信息ID

api.post.edit(parameters) 编辑信息

类型

同步函数

参数
  • id <String> 信息ID
  • content <String> 内容

api.post.query(parameters) 查看信息列表

类型

同步函数

参数
  • term 查询条件
  • skip <Number> 跳过条数
  • top <Number> 条数

await event.context(parameters)

类型

异步函数

await event.middleware(parameters)

类型

异步函数

await event.serve(parameters)

类型

异步函数

17.1.83

2 years ago

17.1.80

2 years ago

17.1.81

2 years ago

17.1.82

2 years ago

17.1.78

2 years ago

17.1.79

2 years ago

17.1.76

3 years ago

17.1.77

3 years ago

17.1.73

3 years ago

17.1.74

3 years ago

17.1.75

3 years ago

17.1.70

3 years ago

17.1.71

3 years ago

17.1.72

3 years ago

17.1.67

3 years ago

17.1.68

3 years ago

17.1.69

3 years ago

17.1.65

3 years ago

17.1.66

3 years ago

17.1.64

3 years ago

17.1.61

3 years ago

17.1.62

3 years ago

17.1.63

3 years ago

17.1.60

3 years ago

17.1.54

3 years ago

17.1.55

3 years ago

17.1.56

3 years ago

17.1.57

3 years ago

17.1.51

3 years ago

17.1.52

3 years ago

17.1.53

3 years ago

17.1.58

3 years ago

17.1.59

3 years ago

17.1.50

3 years ago

17.1.43

3 years ago

17.1.44

3 years ago

17.1.45

3 years ago

17.1.46

3 years ago

17.1.40

3 years ago

17.1.41

3 years ago

17.1.42

3 years ago

17.1.47

3 years ago

17.1.48

3 years ago

17.1.49

3 years ago

17.1.39

3 years ago

17.1.37

3 years ago

17.1.38

3 years ago

17.1.33

3 years ago

17.1.34

3 years ago

17.1.35

3 years ago

17.1.36

3 years ago

17.1.32

3 years ago

17.1.31

3 years ago

17.1.29

3 years ago

17.1.30

3 years ago

17.1.23

3 years ago

17.1.24

3 years ago

17.1.25

3 years ago

17.1.26

3 years ago

17.1.27

3 years ago

17.1.28

3 years ago

17.1.22

3 years ago

17.1.21

3 years ago

17.1.20

3 years ago

17.1.18

3 years ago

17.1.19

3 years ago

17.1.14

3 years ago

17.1.15

3 years ago

17.1.16

3 years ago

17.1.17

3 years ago

17.1.12

3 years ago

17.1.11

3 years ago

17.1.9

3 years ago

17.1.8

3 years ago

17.1.7

3 years ago

17.1.4

3 years ago

17.1.6

3 years ago

17.1.5

3 years ago

17.1.2

3 years ago

17.1.1

3 years ago

17.1.3

3 years ago

17.1.0

3 years ago

17.0.10

3 years ago

17.0.11

3 years ago

17.0.7

3 years ago

17.0.6

3 years ago

17.0.9

3 years ago

17.0.8

3 years ago

17.0.5

3 years ago

17.0.4

3 years ago

17.0.3

3 years ago

17.0.2

3 years ago

17.0.1

3 years ago

17.0.0

3 years ago