3.1.6统一登录注册


接口使用方式推荐

2025-04-30_1509250.665030205217442.png

method: allinpay.shopoint.memberService.memberUnionLogin

version: 1.0

业务请求参数

字段名

参数类型

必填

最大长度

说明

取值

userId

String

180

用户唯一编号

Scope=4时必传

mobile

String

11

手机号

userId与mobile必传一个,加密传输(详见2.3.4)

scope

Integer

4

登录系统类型

1-微商城C端 2 - 小微商户ISV平台 3 - 机构商户ISV平台 4-商户后台 5-微商城B端  6-小微B端

 

业务响应参数

字段名

参数类型

必填

最大长度

说明

取值

code

Integer

 

返回码

0:表示成功;

3:表示失败,具体失败原因参见msg字段;

其他:参见4.1 公共返回码

msg

String

 

错误信息

 

data

customerId

Integer

 

会员ID

Scope=1时必填

userId

String

 

后台用户ID

Scope=4时必填

orgId

Integer

 

机构ID

 

authToken

String

 

会员登录token

 

 

expire

Integer

 

Token有效时间

单位:秒

 

请求示例

{"mobile":"18616721282"}

响应示例

{

    "code": 0,

    "data": {

        "customerId": 1,

" orgId": 1,

" authToken": "OAccFQ9LZ9+B1Jhn9Tb1v37GssdmohZhAdjgYTWz"

}

}

 

跳转地址

序号

产品

环境

模块

跳转地址示例

说明

1

通惠

测试

首页

https://dms-test.shopoint.cn/wxmall/index.html#/bank?orgId=<机构号>&authToken=<authToken>

C端首页

我的卡券

https://dms-test.shopoint.cn/wxmall/index.html#/BankCoupon?orgId=<机构号>&authToken=<authToken>

C端用户卡包

我的

https://dms-test.shopoint.cn/wxmall/index.html#/BankCenter?orgId=<机构号>&authToken=<authToken>

C端用户个人中心

客户经理

https://dms-test.shopoint.cn/wxmall/index.html#/bankdgIndex?orgId=<机构号>&authToken=<authToken>

银行客户经理端首页

机构后台

https://dms-test.shopoint.cn/mcht/index.html#/home?authToken={authToken}

银行机构后台首页

生产

首页

https://dms.shopoint.cn/wxmall/index.html#/bank?orgId=<机构号>&authToken=<authToken>

C端首页

我的卡券

https://dms.shopoint.cn/wxmall/index.html#/BankCoupon?orgId=<机构号>&authToken=<authToken>

C端用户卡包

我的

https://dms.shopoint.cn/wxmall/index.html#/BankCenter?orgId=<机构号>&authToken=<authToken>

C端用户个人中心

客户经理

https://dms.shopoint.cn/wxmall/index.html#/bankdgIndex?orgId=<机构号>&authToken=<authToken>

银行客户经理端首页

机构后台

https://dms.shopoint.cn/mcht/index.html#/home?authToken={authToken}

银行机构后台首页

2

智慧门店

测试

首页

https://dms-test.shopoint.cn/wxmall/index.html#/?orgId=<机构号>&authToken=<authToken>

C端首页

我的卡券

https://dms-test.shopoint.cn/wxmall/index.html#/cardCouponWalletIndex?orgId=<机构号>&authToken=<authToken>

C端用户卡包

我的

https://dms-test.shopoint.cn/wxmall/index.html#/UserIndex?orgId=<机构号>&authToken=<authToken>

C端用户个人中心

导购

https://dms-test.shopoint.cn/wxmall/index.html#/dgIndex?orgId=<机构号>&authToken=<authToken>

导购端首页

商户后台

https://dms-test.shopoint.cn/mcht/index.html#/home?authToken={authToken}

管理后台首页

门店消费

https://dms-test.shopoint.cn/wxmall/index.html#/orderOffline?orgId=<机构号>&authToken=<authToken>

C端用户线下消费列表

导购

https://dms-test.shopoint.cn/wxmall/index.html#t/guideFundSettleIndex?orgld=<机构号>&authToken=<authToken)

账户管理

导购

https://dms-test.shopoint.cn/wxmall/index.html#/ledgerindex?orgld=<机构号>&authToken=<authToken>

账户开户

生产

首页

https://dms.shopoint.cn/wxmall/index.html#/?orgId=<机构号>&authToken=<authToken>

C端首页

我的卡券

https://dms.shopoint.cn/wxmall/index.html#/cardCouponWalletIndex?orgId=<机构号>&authToken=<authToken>

C端用户卡包

我的

https://dms.shopoint.cn/wxmall/index.html#/UserIndex?orgId=<机构号>&authToken=<authToken>

C端用户个人中心

导购

https://dms.shopoint.cn/wxmall/index.html#/dgIndex?orgId=<机构号>&authToken=<authToken>

导购端首页

商户后台

https://dms.shopoint.cn/mcht/index.html#/home?authToken={authToken}

管理后台首页

导购

https://dms.shopoint.cn/wxmall/index.html#t/guideFundSettleIndex?orgld=<机构号>&authToken=<authToken)

账户管理

导购

https://dms.shopoint.cn/wxmall/index.html#/ledgerindex?orgld=<机构号>&authToken=<authToken>

账户开户

门店消费

https://dms.shopoint.cn/wxmall/index.html#/orderOffline?orgId=<机构号>&authToken=<authToken>

C端用户线下消费列表

 

 

 

3

ISV

测试

收银台

https://dms-api-test.shopoint.cn/shopoint-micro-web/isv/checkout?authtoken=<authToken>[&其他参数]

智慧小店ISV收银台

生产

收银台

https://dms-api.shopoint.cn/shopoint-micro-web/isv/checkout?authtoken=<authToken>[&其他参数]

智慧小店ISV收银台


卜子超buzc 2025年5月14日 16:18 收藏文档