You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
697 B

name: 管理员保存联系人详情
variables:
code: 200
uatoken: ${ENV(UATOKEN)}
id:
name: 测试
mobilePhone: 13800138000
telephone: 020-12345678
email: 13800@qniao.cn
wechatAccount: wechat-qniao
remark: 联系人备注
base_url: ${ENV(UECURL)}
request:
url: /uec/admin/save/enterprise/contacts
method: POST
headers:
Content-Type: "application/json"
X-APP-ID: "1"
Authorization: $uatoken
json:
id: $id
name: $name
mobilePhone: $mobilePhone
telephone: $telephone
email: $email
wechatAccount: $wechatAccount
remark: $remark
validate:
- eq: ["status_code", $code]