test(work): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-06-05 16:38:28 +08:00
parent 0d6feba1df
commit d70996c8fc
66 changed files with 664 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
{
"mobiles": [
"10000000000",
"10000000001"
]
}

View File

@@ -0,0 +1,18 @@
{
"errcode": 0,
"errmsg": "ok",
"success_list": [
{
"mobile": "18900000000",
"external_userid": "aaabbbcccc",
"foreign_key": "zhangsan"
}
],
"fail_list": [
{
"errcode": 60136,
"errmsg": "record not found",
"mobile": "10000000001"
}
]
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"openid": "ooAAAAAAAAAAA"
}

View File

@@ -4,6 +4,7 @@
"external_contact": {
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
"name": "李四",
"foreign_key": "lisi",
"position": "Manager",
"avatar": "http://p.qlogo.cn/bizmail/IcsdgagqefergqerhewSdage/0",
"corp_name": "腾讯",
@@ -11,6 +12,18 @@
"type": 2,
"gender": 1,
"unionid": "ozynqsulJFCZ2z1aYeS8h-nuasdAAA",
"is_subscribe": 1,
"subscriber_info": {
"tag_id": [
"TAG_ID1",
"TAG_ID2"
],
"remark_mobiles": [
"10000000000",
"10000000001"
],
"remark": "李小明-爸爸"
},
"external_profile": {
"external_attr": [
{

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"subscribe_mode": 1
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"qrcode_big": "http://p.qpic.cn/wwhead/XXXX",
"qrcode_middle": "http://p.qpic.cn/wwhead/XXXX",
"qrcode_thumb": "http://p.qpic.cn/wwhead/XXXX"
}