人人商城 IOS、Android API

人人商城 IOS、Android API

首页

WeEngine Android、IOS Index api

  • result->seckillinfo: 秒杀
  • result->bannerList:轮播列表
  • result->navList:导航列表
  • result->noticeList:公告列表
  • result->cubeList : 魔方 4 、7、9为广告 11直播 12左右滑动 13推荐
POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply
{
    "status": 1,
    "result": {
        "seckillinfo": {
            "tag": "",  //秒杀标题
            "status": 0,//0隐藏 1显示
            "time": "", //场次
            "endtime": ,结束时间戳
            "starttime": ,//开始时间戳
            "goods": [
                {
                    "thumb": "", //缩略图
                    "price": "", //秒杀价
                    "marketprice": "" //原价
                }
        ],
        "bannerList": [
            {
                "id": "",	//bannerID
                "uniacid": "",  //公众号ID
                "bannername": "",  //标题
                "link": "",  //type=3 跳转地址
                "thumb": "",  //图
                "displayorder": "2", //排序 数字越大,排名越靠前
                "enabled": "1", 	// 1显示 0隐藏  接口只查显示
                "shopid": "0",  // type=1 商品ID
                "iswxapp": "0",  // 是否小程序banner
                "isapp": "1",  //是否App banner 接口只查App banner
                "type": "", //跳转类型 0不跳 1商品 2分类 3网址  4内页
                "insidepage": "",  // type=4 内页参数
                "cateid": "" // type=2 商品分类ID
            },
            ......
        ],
         "navList": [
            {
                "id": "",  //navID
                "uniacid": "",   //公众号ID
                "navname": "",  //标题
                "icon": "",  //图
                "url": "",  //type=3 跳转地址
                "displayorder": "3", //排序 数字越大,排名越靠前
                "status": "1", 	// 1显示 0隐藏  接口只查显示
                "iswxapp": "0",  // 是否小程序nav
                "isapp": "1",  //是否App nav 接口只查App nav
                "insidepage": "",  // type=4 内页参数
                "shopid": "",  // type=1 商品ID
                "cateid": "", // type=2 商品分类ID
                "type": ""  //跳转类型 0不跳 1商品 2分类 3网址 4内页
            },
            ......
        ],
        "noticeList": [
            {
                "id": "", //公告ID
                "uniacid": "",//公众号ID
                "displayorder": "1", //排序 数字越大,排名越靠前
                "title": "", //公告标题
                "thumb": "",//缩略图
                "link": "", //多余字段
                "detail": "", //公告内容
                "status": "1",// 1显示 0隐藏  接口只查显示
                "createtime": "1509504400",//创建时间 时间戳
                "shopid": "0",//多余字段
                "iswxapp": "0", // 是否小程序公告
                "isapp": "1" //是否App 公告 接口只查App 公告
            }
        ],
        "cubeList": [
            {
                "id": "",  //魔方ID
                "uniacid": "", //公众号ID
                "cubename": "", //魔方标题
                "icon": "",  //标题图标
                "param": "", //标题参数 type=1为商品ID 2为分类ID 3为网址 4为内页
                "displayorder": "1",  //序号 共8个魔方 1~8 从上到下
                "status": "1", // 1显示 0隐藏 
                "iswxapp": "0", // 是否小程序魔方
                "isapp": "1",  ,//是否App 魔方 接口只查App 魔方
                "type": "1", // 标题跳转类型 0不跳 1商品 2分类 3网址 4内页
                "cube": [
                    {
                        "img": "", //图片
                        "type": "", //类型
                        "param": ""//参数
                    },
                   .......
                ]
            },
           ......
        ]
    }

      
    }
}

启动图

  • time 时间(秒/s)
  • icon 启动图
  • urlparam
POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.startup
{
    "status": 1,
    "result": {
        "isclose": 0,
        "closetext": "",
        "time": 10,
        "icon": "",
    }
}

WeEngine Android、IOS Member api

个人中心

POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member
openid 

string

required

openid

{
    "status": 1,
    "result": {
        "id": "", //用户ID
        "avatar": "", //用户头像
        "nickname": "", //用户昵称
        "moneytext": "余额", //余额名称
        "credittext": "积分", //积分名称
        "credit1": "0.00", //用户积分
        "credit2": "9980.10", //用户余额
        "levelurl": "",
        "levelname": "普通会员", //用户等级
        "statics": {
            "order_0": "0",  //待付款
            "order_1": "0",  //待发货
            "order_2": "1",  //待收货
            "order_4": "0",  //退换货
            "cart": "0",        //购物车
            "favorite": "0",  //关注
            "coupon": "0"  //优惠券
        },
        "url": ""
    }
}

个人详情

POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.info
openid 

string

required

openid

{
    "status": 1,
    "result": {
        "member": {
            "id": "4600",
            "uniacid": "4",
            "uid": "0",
            "groupid": "0",
            "level": "0",
            "agentid": "0",
            "openid": "wap_user_4_13053237223",
            "realname": "测试",
            "mobile": "13053237223",
            "pwd": "927bbbe7d93bf2ac5f25f071aff3e2ba",
            "weixin": "shineky",
            "content": null,
            "createtime": "1508123138",
            "agenttime": "0",
            "status": "0",
            "isagent": "0",
            "clickcount": "0",
            "agentlevel": "0",
            "noticeset": null,
            "nickname": "shinkey",
            "credit1": "6.00",
            "credit2": "9979.10",
            "birthyear": "2017",
            "birthmonth": "11",
            "birthday": "2017-11-11",
            "gender": "0",
            "avatar": "https://127.0.0.1/attachment/images/4/2017/11/emlElMe8YZxgf1B1Xw71F1ee8XwbA1.jpg",
            "province": "北京市",
            "city": "北京辖区",
            "area": "",
            "childtime": "0",
            "inviter": "0",
            "agentnotupgrade": "0",
            "agentselectgoods": "0",
            "agentblack": "0",
            "fixagentid": "0",
            "diymemberid": "0",
            "diymemberfields": null,
            "diymemberdata": null,
            "diymemberdataid": "0",
            "diycommissionid": "0",
            "diycommissionfields": null,
            "diycommissiondata": null,
            "diycommissiondataid": "0",
            "isblack": "0",
            "username": "",
            "commission_total": "0.00",
            "endtime2": "0",
            "ispartner": "0",
            "partnertime": "0",
            "partnerstatus": "0",
            "partnerblack": "0",
            "partnerlevel": "0",
            "partnernotupgrade": "0",
            "diyglobonusid": "0",
            "diyglobonusdata": null,
            "diyglobonusfields": null,
            "isaagent": "0",
            "aagentlevel": "0",
            "aagenttime": "0",
            "aagentstatus": "0",
            "aagentblack": "0",
            "aagentnotupgrade": "0",
            "aagenttype": "0",
            "aagentprovinces": null,
            "aagentcitys": null,
            "aagentareas": null,
            "diyaagentid": "0",
            "diyaagentdata": null,
            "diyaagentfields": null,
            "salt": "nvnnvc6ycBC5Nbge",
            "mobileverify": "1",
            "mobileuser": "0",
            "carrier_mobile": "0",
            "isauthor": "0",
            "authortime": "0",
            "authorstatus": "0",
            "authorblack": "0",
            "authorlevel": "0",
            "authornotupgrade": "0",
            "diyauthorid": "0",
            "diyauthordata": null,
            "diyauthorfields": null,
            "authorid": "0",
            "comefrom": "app_mobile",
            "openid_qq": null,
            "openid_wx": null,
            "diymaxcredit": "0",
            "maxcredit": "0",
            "datavalue": "",
            "openid_wa": null,
            "nickname_wechat": "",
            "avatar_wechat": "",
            "updateaddress": "1",
            "membercardid": "",
            "membercardcode": "",
            "membershipnumber": "",
            "membercardactive": "0"
        },
        "url": "https://127.0.0.1"
    }
}

更新资料

POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.info.submit
openid 

string

required

openid

realname 

string

required

姓名

mobile 

string

required

手机号

nickname 

string

required

昵称

avatar 

string

头像

weixin 

string

微信号

birth 

string

生日 年月日(1970-01-01)

city 

string

省 市 (安徽-合肥)

{
    "status": 1,
}

头像上传

POSThttps://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=util.uploader.appupload
openid 

string

required

openid

{
    "status": 1,
}

产品猿社区致力收录更多优质的商业产品,给服务商以及软件采购客户提供更多优质的软件产品,帮助开发者变现来实现多方共赢;

日常运营的过程中我们难免会遇到各种版权纠纷等问题,如果您在社区内发现有您的产品未经您授权而被用户提供下载或使用,您可按照我们投诉流程处理,点我投诉

本文来自用户发布投稿,不代表产品猿立场 ;若对此文有疑问或内容有严重错误,可联系平台客服反馈;

部分产品是用户投稿,可能本文没有提供官方下下载地址或教程,若您看到的内容没有下载入口,您可以在我们产品园商城搜索看开发者是否有发布商品;若您是开发者,也诚邀您入驻商城平台发布的产品,地址:点我进入

如若转载,请注明出处:https://www.chanpinyuan.cn/1466.html;
(3)
上一篇 2022年5月19日 下午1:09
下一篇 2022年5月19日 下午1:13

相关推荐

发表回复

登录后才能评论

评论列表(1条)

分享本页
返回顶部