简要描述:

  • 会员设置

请求域名:

  • http://test.yunzshop.com

请求URL:

POST:member.member-relation.base

参数:

参数名 类型 说明
base object 基础设置对象
banner string 图片
content string 内容
is_referrer string 会员关系页面显示推荐人 0=否 1=是
parent_is_referrer string 会员关系页面显示推荐人上级 0=否 1=是 (为空==否)
is_recommend_wechat string 推荐人电话微信号 0=隐藏 1=显示
is_member_merge string 1=全自动合并 0=新会员自动合并
is_merge_save_level string 0=注册时间 1=手机号 2=公众号 3=微信小程序 4=APP微信登录 5=支付宝登录

参数:

参数名 类型 说明
temp_list array 消息模板数组
id int 模板id
title string 模板名称

参数:

参数名 类型 说明
relation_level object 会员设置显示对象
0 string 显示关系等级1级, (value==1才处于开启状态,其他情况为关闭状态)
name1 string 自定义名称 1级
1 string 显示关系等级 2级 (value==2才处于开启状态,其他情况为关闭状态)
name2 string 自定义名称 2级
wechat string 微信 ((value==1才处于开启状态,其他情况为关闭状态)
phone string 手机 (value==1才处于开启状态,其他情况为关闭状态)
realname string 姓名 (value==1才处于开启状态,其他情况为关闭状态)

返回示例:

{
    "result":1,
    "msg":"ok",
    "data":{
        "banner":"https:\/\/dev4.yunzmall.com\/attachment\/images\/9\/2021\/10\/87861baf519942fcaeea5b8dcc08ebab.jpg",
        "content":"",
        "base":{
            "banner":"images\/9\/2021\/10\/87861baf519942fcaeea5b8dcc08ebab.jpg",
            "content":"",
            "member_agent":"141",
            "member_new_lower":"144",
            "is_referrer":"1",
            "parent_is_referrer":"1",
            "is_recommend_wechat":"1",
            "relation_level":{
                "0":"1",
                "1":"2",
                "name1":"\u4e00\u7ea7\u5173\u7cfb\u7b49\u7ea7",
                "name2":"\u4e8c\u7ea7\u5173\u7cfb\u7b49\u7ea7",
                "wechat":"1",
                "phone":"1",
                "realname":"1"
            },
            "is_member_merge":"0",
            "is_merge_save_level":"0"
        },
        "temp_list":[
            {
                "id":139,
                "title":"\u63d0\u73b0\u5931\u8d25\u7ba1\u7406\u5458\u901a\u77e5"
            },
            Object{...}
        ],
        "relation_level":{
            "0":"1",
            "1":"2",
            "name1":"\u4e00\u7ea7\u5173\u7cfb\u7b49\u7ea7",
            "name2":"\u4e8c\u7ea7\u5173\u7cfb\u7b49\u7ea7",
            "wechat":"1",
            "phone":"1",
            "realname":"1"
        }
    }
}


请求参数示例:

^ array:10 [▼
  "banner" => "https://dev4.yunzmall.com/attachment/images/9/2021/10/87861baf519942fcaeea5b8dcc08ebab.jpg"
  "content" => ""
  "member_agent" => "141"
  "member_new_lower" => "144"
  "is_referrer" => "1"
  "parent_is_referrer" => "1"
  "is_recommend_wechat" => "1"
  "relation_level" => array:7 [▼
    0 => "1"
    "name1" => "一级关系等级"
    1 => "2"
    "name2" => "二级关系等级"
    "wechat" => "1"
    "phone" => "1"
    "realname" => "1"
  ]
  "is_member_merge" => "0"
  "is_merge_save_level" => "0"
]
                   |

备注: