# 会员
#### 会员列表
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=getInfoList&typ=json
int:page=1#页数
int:rows=10#每页记录数
string:user_type#1-会员id 2-会员名称
string:search_name#搜索内容
int:shop_source#商家类型 1-商家店铺 2-供货商店铺
string:user_active_time#激活时间
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 17,
"totalsize": "17",
"records": "17",
"items": [{
"user_id": "10002", //用户id
"user_realname": "", //真实姓名
"user_mobile": "17689854125", //手机号码
"area_code": "86", //国际手机号区号
"user_email": "", //用户Email
"user_type_id": "0", //用户类别
"user_level_id": "1", //用户安全等级
"user_active_time": "2019-03-20 14:12:32", //激活时间
"user_remark": "", //备注消息
"user_name": "456456", //用户名
"user_sex": "保密", //用户性别 0女 1男 2保密
"user_birthday": "1970-01-01", //生日
"user_mobile_verify": "0", //手机验证0没验证1验证
"user_email_verify": "0", //邮箱验证0没验证1验证
"user_cash": "0.00", //资金-废除
"user_freeze_cash": "0.00", //冻结资金-废除
"user_provinceid": "0", //省
"user_cityid": "0", //市
"user_areaid": "0", //区
"user_area": "江苏 苏州市 吴中区", //用户地址
"user_logo": "http:\/\/ucenter.jh.st.yuanfeng021.com\/ucenter\/static\/default\/images\/default_user_portrait.png", //用户头像
"user_hobby": "0", //爱好 - 废除
"user_points": "0", //积分 - 废除
"user_freeze_points": "0", //冻结资金 - 废除
"user_growth": "0", //成长值 - 废除
"user_statu": "0", //登录状态0允许登录1禁止登录
"user_ip": "114.95.224", //注册ip
"user_lastip": "114.95.224", //最近登录ip
"user_regtime": "2019-03-20 14:12:32", //注册时间
"user_logintime": "2019-04-03 09:53:20", //上次登录时间
"lastlogintime": "2019-03-27 09:59:14", //最后登录时间
"user_invite": "",
"user_grade": "2", //用户等级
"user_update_date": "0000-00-00 00:00:00", //更新时间
"user_drp_id": "0",
"user_qq": "", //用户qq
"user_report": "1", //是否可以举报商品0不可以1可以
"user_buy": "1", //是否可以购买商品0不可以1可以
"user_talk": "1", //是否允许发表言论0不可以1可以
"user_ww": "", //阿里旺旺
"user_am": "", //系统公告查看过id
"user_parent_id": "0", //用户上级ID
"user_directseller_commission": "0.00", //用户获得的分销总佣金
"user_directseller_shop": null, //分销小店名称
"user_bt_status": "0", //白条审核状态:0未审核1待审核2审核成功3审核失败
"id": "10002"
"identy": {
"user_id": "10002", //用户id
"user_realname": "3421313", //真实姓名
"user_nickname": "456456", //用户昵称
"user_type_id": "0", //用户类别
"user_level_id": "1", //用户等级
"user_active_time": "2019-03-20 14:12:33", //激活时间
"user_remark": "", //备注消息
"user_provinceid": "0", //省
"user_cityid": "0", //市
"user_areaid": "0", //区
"user_address": "", //详细地址
"user_email": "", //邮箱
"user_mobile": "17689854125", //手机号
"user_qq": "", //qq
"user_avatar": "http:\/\/ucenter.jh.st.yuanfeng021.com\/ucenter\/static\/default\/images\/default_user_portrait.png", //用户头像
"user_identity_card": "3213131", //证件号
"user_identity_statu": "2", //0未审核1待审核2审核成功3审核失败
"user_identity_type": "2", //证件类型 1身份证 2护照 3军官证
"user_identity_font_logo": "http:\/\/paycenter.yuanfeng021.com\/image.php\/paycenter\/data\/upload\/media\/plantform\/image\/20190327\/1553652084106093.png!0x0.jpg", //证件正面照
"user_identity_face_logo": "http:\/\/paycenter.yuanfeng021.com\/image.php\/paycenter\/data\/upload\/media\/plantform\/image\/20190327\/1553652080247851.png!0x0.jpg", //证件反面照
"user_identity_start_time": "2019-03-01", //证件有效开始时间
"user_identity_end_time": "2019-06-13", //证件有效结束时间
"user_bt_status": "0", //白条审核状态:0未审核1待审核2审核成功3审核失败
"user_btapply_time": "0000-00-00 00:00:00", //白条申请时间
"user_btverify_time": "0000-00-00 00:00:00", //白条审核时间
"area_code": "86", //国际手机号区号
"id": "10002"
}
}]
}
}
<<<
error
```
```
#### 获取会员详情
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=getUserInfoByName&typ=json
*string:user_name=默认值#说明文字
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"10002": {
"user_id": "10002", //用户id
"user_realname": "", //真实姓名
"user_mobile": "17689854125", //手机号码
"area_code": "86", //国际手机号区号
"user_email": "", //用户Email
"user_type_id": "0", //用户类别
"user_level_id": "1", //用户安全等级
"user_active_time": "2019-03-20 14:12:32", //激活时间
"user_remark": "", //备注消息
"user_name": "456456", //用户名
"user_sex": "2", //用户性别 0女 1男 2保密
"user_birthday": "1970-01-01", //生日
"user_mobile_verify": "0", //手机验证0没验证1验证
"user_email_verify": "0", //邮箱验证0没验证1验证
"user_cash": "0.00", //资金-废除
"user_freeze_cash": "0.00", //冻结资金-废除
"user_provinceid": "0", //省
"user_cityid": "0", //市
"user_areaid": "0", //区
"user_area": "江苏 苏州市 吴中区", //地址
"user_logo": "http:\/\/ucenter.yuanfeng021.com\/ucenter\/static\/default\/images\/default_user_portrait.png", //用户头像
"user_hobby": "0", //爱好--废除
"user_points": "0", //积分--废除
"user_freeze_points": "0", //冻结积分--废除
"user_growth": "0", //成长值--废除
"user_statu": "0", //登录状态0允许登录1禁止登录
"user_ip": "114.95.224",
"user_lastip": "114.95.224",
"user_regtime": "2019-03-20 14:12:32",
"user_logintime": "2019-04-03 09:53:20",
"lastlogintime": "2019-03-27 09:59:14",
"user_invite": "",
"user_grade": "2", //用户等级
"user_update_date": "0000-00-00 00:00:00", //更新时间
"user_drp_id": "0",
"user_qq": "", //用户qq
"user_report": "1", //是否可以举报商品0不可以1可以
"user_buy": "1", //是否可以购买商品0不可以1可以
"user_talk": "1", //是否允许发表言论0不可以1可以
"user_ww": "", //阿里旺旺
"user_am": "", //系统公告查看过id
"user_parent_id": "0", //用户上级ID
"user_directseller_commission": "0.00", //用户获得的分销总佣金
"user_directseller_shop": null, //分销小店名称
"user_bt_status": "0", //白条审核状态:0未审核1待审核2审核成功3审核失败
"id": "10002"
}
}
}
<<<
error
{
"cmd_id":-140,
"status":250,
"msg":"缺少user_name",
"data":[ ]
}
```
```
#### 用户收货地址列表
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=getUserAddressList&typ=json
int:page=1#页数
int:rows=10#每页显示记录数
int:user_id#用户id
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 25,
"totalsize": "25",
"records": "25",
"items": [{
"user_address_id": "1", //用户地址id
"user_id": "10003", //用户id
"user_address_contact": "qdhuang", //收件人名称
"user_address_province_id": "1", //省
"user_address_city_id": "50", //市
"user_address_area_id": "0", //区
"user_address_area": "北京 大兴区", //收货地址
"user_address_address": "亦庄经济开发区", //收货详细地址
"user_address_phone": "15901201349", //收件人联系电话
"area_code": "86", //国际手机号区号
"user_address_company": "", //公司
"user_address_default": "0", //默认地址0不是1是
"user_address_time": "2019-05-06 14:06:41", //添加时间
"id": "1"
}]
}
}
<<<
error
```
```
#### 用户代金券列表
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=voucher&typ=json
*int:user_id#用户id
int:state#状态 1-未用 2-已用 3-过期
int:page=1#页数
int:rows=20#每页记录数
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 1,
"totalsize": "2",
"records": "2",
"items": [{
"voucher_id": "1503", //代金券id
"voucher_code": "", //代金券编码
"voucher_t_id": "78", //代金券模版编号
"voucher_title": "满99减10", //代金券标题
"voucher_desc": "一欧派云", //代金券描述
"voucher_start_date": "2017-10-23", //代金券有效期开始时间
"voucher_end_date": "2023-10-24", //代金券有效期结束时间
"voucher_price": "10.00", //代金券面额
"voucher_limit": "99", //代金券使用时的订单限额
"voucher_shop_id": "51", //代金券的店铺id
"voucher_state": "1", //代金券状态(1-未用,2-已用,3-过期,4-收回)
"voucher_active_date": "2019-05-17 13:23:09", //代金券发放日期
"voucher_type": "0", //代金券类别
"voucher_owner_id": "11694", //代金券所有者id
"voucher_owner_name": "1122aa", //代金券所有者名称
"voucher_order_id": "", //使用该代金券的订单编号
"id": "1503",
"voucher_shop_name": "特步", //店铺名称
"voucher_shop_logo": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/d3aabd05be45670d48e2685d1e1f5992\/10104\/51\/image\/20170522\/1495439001176936.jpg!200x60.jpg", //店铺logo
"voucher_state_label": "未用", //代金券使用状态
"v_end_date": "2023.10.24", //结束时间
"v_start_date": "2017.10.23" //开始时间
}],
"hasmore": false,
"page_total": 1
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "缺少user_id",
"data": []
}
```
```
#### 用户平台红包列表
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=redPacket&typ=json
*int:user_id#用户id
int:listRows#每页显示记录数
int:firstRow#起始记录数
int:state#状态 1-未用 2-已用 3-过期
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 1,
"totalsize": "2",
"records": "2",
"items": [{
"redpacket_id": "1153", //红包id
"redpacket_code": "735490611417847694", //红包编码
"redpacket_t_id": "21", //红包模版编号
"redpacket_title": "十元红包", //红包标题
"redpacket_desc": "快领", //红包描述
"redpacket_start_date": "2017-09-05 08:57:00", //红包有效期开始时间
"redpacket_end_date": "2019-09-11 08:57:00", //红包有效期结束时间
"redpacket_price": "10.00", //红包面额
"redpacket_t_orderlimit": "50.00", //红包使用时的订单限额
"redpacket_state": "1", //红包状态(1-未用,2-已用,3-过期,4-回收)
"redpacket_active_date": "2019-05-17 14:17:27", //红包发放日期
"redpacket_owner_id": "11694", //红包所有者id
"redpacket_owner_name": "1122aa", //红包所有者名称
"redpacket_order_id": "", //使用该红包的订单编号
"id": "1153",
"redpacket_state_label": "未用", //使用状态
"start_data": "2017-09-05", //开始时间
"end_data": "2019-09-11", //结束时间
"redpacket_t_img": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20170925\/1506301143725618.jpg" //红包图片
}]
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "缺少user_id",
"data": []
}
```
```
#### 用户积分接口
```
<pre class="calibre14">```
get:/index.php?ctl=Api_User_Info&met=redPacket&typ=json
*int:user_id=默认值#说明文字
string:op#不传值-积分明细列表 getPointsOrder-兑换记录列表
int:listRows=10#每页记录数
int:firstRow=0#起始记录数
int:state#兑换记录状态查询条件,1-等待发货 2-等待收货 3-确认收货 4-取消
string:start_date#积分明细查询条件,开始时间,例:2019-05-08
string:end_date#积分明细查询条件,结束时间,例:2019-05-08
string:class_id#积分明细查询条件,1-会员注册,2-会员登录,3-评价,4-购买商品,6-管理员操作,7-换购商品,8-兑换代金券,9-取消订单,退还积分
string:des#描述
<<<
success
//积分列表
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 48,
"totalsize": "48",
"records": "48",
"items": [{
"points_log_id": "17847", //id
"points_log_type": "1", //类型 1获取积分2积分消费
"class_id": "会员登录", //积分类型中文
"user_id": "11694", //会员id
"user_name": "1122aa", //会员名称
"admin_name": "admin", //管理员账号
"points_log_points": "15.00", //可用积分
"freeze_points": "0", //冻结积分
"points_log_time": "2019-05-17 13:16:15", //创建时间
"points_log_desc": "会员登录", //描述
"points_log_flag": "login", //标记
"id": "17847",
"classid": "2" //积分类型1.会员注册,2.会员登录3.评价4.购买商品5.6.管理员操作7.积分换购商品8.积分兑换代金券
}],
"hasmore": true,
"web": { //积分获取的默认设置
"points_reg": "0", //注册获取积分
"points_login": "15", //登录获取积分
"points_evaluate": "12", //评论获取积分
"points_recharge": "10", //订单每多少获取多少积分
"points_order": "10" //订单每多少获取多少积分
},
"points": {
"user_id": "11694", //会员id
"user_blog": "0", //微博数量
"user_friend": "0", //好友数量
"user_fan": "0", //粉丝数量
"user_growth": "840", //成长值
"user_points": "627.00", //积点
"id": "11694"
}
}
}
//兑换记录
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 5,
"totalsize": "5",
"records": "5",
"items": [{
"points_order_id": "325", //兑换订单编号
"points_order_rid": "1905160150035599", //兑换订单号
"points_buyerid": "11694", //兑换会员id
"points_buyername": "1122aa", //兑换会员姓名
"points_buyeremail": "", //兑换会员email
"points_addtime": "2019-05-16 13:50:03", //兑换订单生成时间
"points_paymenttime": "0000-00-00 00:00:00", //支付(付款)时间
"points_shippingtime": "0000-00-00 00:00:00", //配送时间
"points_shippingcode": "", //物流单号
"points_logistics": "", //物流公司名称
"points_finnshedtime": "0000-00-00 00:00:00", //订单完成时间
"points_allpoints": "2", //兑换总积分
"points_orderamount": "0.00", //兑换订单总金额
"points_shippingcharge": "0", //运费承担方式 0表示平台 1表示买家
"points_shippingfee": "0.00", //运费金额
"points_ordermessage": "", //订单留言
"points_orderstate": "1", //订单状态:1(已下单,等待发货);2(已发货,等待收货);3(确认收货)4(取消)
"id": "325",
"points_ordergoods_list": [{
"points_recid": "366", //订单礼品表id
"points_orderid": "1905160150035599", //订单id
"points_goodsid": "64", //礼品id
"points_goodsname": "测试积分商品", //礼品名称
"points_goodspoints": "2", //礼品兑换积分
"points_goodsnum": "1", //礼品数量
"points_goodsimage": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20181214\/1544764864997277.jpg!0x0.jpg", //礼品图片
"id": "366"
}],
"points_express_id": null //物流公司id
}]
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "缺少user_id",
"data": []
}
```
```
#### 会员评价接口
```
<pre class="calibre15">```
get:/index.php?ctl=Api_User_Info&met=evaluation&typ=json
*int:user_id#会员id
int:rows=10#每页显示数据数
int:firstRow=0#每页起始数
<<<
success
{
"cmd_id": -140,
"status": 200,
"msg": "success",
"data": {
"page": 1,
"total": 3,
"totalsize": 8,
"records": 3,
"items": [
[{ //初次评价内容
"evaluation_goods_id": "2707", //评论id
"user_id": "10010", //会员id
"member_name": "5511aa", //会员名
"order_id": "DD-10011-6-102-20180519130942-0001", //订单id
"shop_id": "6", //商家id
"shop_name": "5522吖吖", //店铺名称
"common_id": "2114", //商品common_id
"goods_id": "1878", //商品ID
"goods_name": "女式帽子", //商品名
"goods_price": "50.00", //商品价格
"goods_image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/d3aabd05be45670d48e2685d1e1f5992\/10011\/6\/image\/20171229\/1514533967749614.jpg", //商品图片
"scores": "5", //1-5分
"result": "good", //结果
"content": "sssss", //内容
"image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045017360402.png,https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045019360402.png,https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045023775485.png,https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045025625031.png,https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045031443776.png,", //晒单图片
"isanonymous": "1", //是否匿名评价 1-匿名 2-不匿名
"create_time": "2018-05-23 11:10:44", //创建时间
"status": "1", //状态 0禁止显示 1显示 2置顶
"explain_content": "", //解释内容
"update_time": "0000-00-00 00:00:00",
"evaluation_from": "1", //1-PC 2-WAP
"id": "2707",
"image_row": ["https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045017360402.png", "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045019360402.png", "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045023775485.png", "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045025625031.png", "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180523\/1527045031443776.png"] //晒单图片数组
}, { //追加评价
"evaluation_goods_id": "2731", //评价id
"user_id": "10010", //会员ID
"member_name": "5511aa", //会员名
"order_id": "DD-10011-6-102-20180519130942-0001", //订单ID
"shop_id": "6", //商家ID
"shop_name": "5522吖吖", //店铺名称
"common_id": "2114", //商品common_id
"goods_id": "1878", //商品ID
"goods_name": "女式帽子", //商品名
"goods_price": "50.00", //商品价格
"goods_image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/d3aabd05be45670d48e2685d1e1f5992\/10011\/6\/image\/20171229\/1514533967749614.jpg", //商品图片
"scores": "0", //1-5分 - 追加评价不再评分
"result": "", //结果 - 追加评价不再评分
"content": "12qwesdas", //内容
"image": "https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180702\/1530513536649209.png,", //晒单图片
"isanonymous": "0", //是否匿名评价 - 追加评价不再单独设置
"create_time": "2018-07-02 14:39:15", //创建时间
"status": "1", //状态 0禁止显示 1显示 2置顶
"explain_content": "", //解释内容
"update_time": "0000-00-00 00:00:00",
"evaluation_from": "1", // //1-PC 2-WAP
"id": "2731",
"image_row": ["https:\/\/shop.local.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/d3aabd05be45670d48e2685d1e1f5992\/image\/20180702\/1530513536649209.png"], //晒单图片数组
"diff_date": 41 //初次评价与追加评价的间隔天数
}]
]
}
}
<<<
error
{
"cmd_id": -140,
"status": 250,
"msg": "缺少user_id",
"data": []
}
```
```
- 序言
- 系统要求
- 版本更新日志
- 远丰商城技术对接说明
- 开发指导
- 框架内容
- 基础
- 开发规范
- 目录结构
- 架构
- 架构总览
- 数据库
- 数据库连接
- 基本使用
- 缓存
- 配置
- 路由
- 数据字典
- ucenter
- shop
- paycenter
- ucenter_admin
- shop_admin
- paycenter_admin
- 通讯内容
- 商家中心
- 顶部导航栏
- 店铺信息栏
- 店铺及商品提示栏
- 交易提示栏
- 销售情况统计栏
- 单品销量排行栏
- 店铺运营推广栏
- 平台联系方式栏
- 订单物流
- 商品
- 商品列表
- 商品详情
- 商品发布与编辑
- 分销商品
- 关联版式
- 商品规格
- 图片空间
- 淘宝导入
- 订单流程
- 交易订单
- 订单退款/退货
- 促销
- 团购管理
- 加价购
- 限时折扣
- 满即送
- 代金券管理
- 分销
- 店铺
- 店铺设置
- 自销产品供应商
- 实体店铺
- 品牌申请
- 店铺信息
- 消费者保障服务
- 门店账号
- 分销商--产品供应商
- 分销明细
- 批发市场
- 售后服务
- 咨询管理
- 投诉管理
- 退款管理
- 退货管理
- 云方案架构
- 负载集群
- 云存储
- 接口
- Api接口说明
- 品牌
- 商品规格
- 商品类型
- 商品分类
- 商品
- 订单
- 商品/店铺收藏
- 足迹
- 退款及退货
- 商家店铺
- 会员
- 入驻协议
- 订单接口
- 商品接口
- 订单物流接口
- 商家中心接口
- 促销接口
- 快递鸟物流接口
- 代金券接口
- 首页版块
- 团购
- 平台红包
- 限时折扣接口
- 拼团接口
- wap首页模板
- 杂项
- 远程上传图片
- JS
- 银联支付
- 多语言
- 商品评分
- 图片加载
- 买家申请退款退货
- 商家退款退货
- 平台退款退货
- 添加发票
- 提交订单
- 确认订单
- 运费销售区域
- 获取会员地址
- 充值
- 导出XLS
- 商城系统集成
- 多语言实现
- 三级分销推广链接发展推广员
- app.ini.php
- 去分销
- 版本更新
- 物流支持
- 运营人员建议
- 业务逻辑
- 统计结算
- 客服消息
- 账号
- 三级分销
- IM
- 配置
- 平台帐号
- 活动数据表说明