個(gè)人中心相關(guān)接口數(shù)據(jù)描述

6.1?個(gè)人中心主頁(yè)信息接口

(1)請(qǐng)求路徑:xxx.com/smallprogapi/UserCenter/GetUser

 

(2)請(qǐng)求參數(shù):

?

參數(shù)名稱 必填 參數(shù)值說(shuō)明 格式要求
openId OpenID String

?

(3)返回值說(shuō)明:JSON

返回結(jié)果:

{"success":true,"msg":"","code":0,"data":{"UserName":"viange","RealName":"viange","Nick":"viange","UserId":"664","Photo":"","AllOrders":"108","WaitingForPay":"2","WaitingForRecieve":"0","WaitingForDelivery":42,"WaitingForComments":"0","RefundOrders":4,"CellPhone":null,"Counpon":"1","Integral":"29452","Balance":1000.00}}

 

返回結(jié)果參數(shù)說(shuō)明:

?

字段名稱 字段編碼 數(shù)據(jù)類型 是否可空 備注
用戶賬號(hào) UserName String
用戶真實(shí)名稱 RealName String
用戶昵稱 Nick String
用戶ID UserId long
用戶頭像 Photo String
訂單總數(shù) AllOrders Int
等待付款訂單數(shù) WaitingForPay Int
等待收貨訂單數(shù) WaitingForRecieve Int
等待發(fā)貨訂單數(shù) WaitingForDelivery Int
等待評(píng)論訂單數(shù) WaitingForComments Int
售后訂單數(shù) RefundOrders Int
用戶綁定手機(jī)號(hào) CellPhone String
未使用的優(yōu)惠券數(shù) Counpon Int
我的積分 Integral Int
我的資產(chǎn) Balance Decimal

?

6.2?獲取積分明細(xì)

(1)請(qǐng)求路徑:xxx.com/smallprogapi/UserCenter/GetIntegralRecordList

 

(2)請(qǐng)求參數(shù):

?

參數(shù)名稱 必填 參數(shù)值說(shuō)明 格式要求
openId OpenID String
pageNo 頁(yè)碼 Int
pageSize 每頁(yè)記錄數(shù) decimal

?

(3)返回值說(shuō)明:Json格式

返回結(jié)果:

{"success":true,"msg":"","code":0,"data":[{"Id":3554,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-16?14:41:05","ReMark":"每天登錄"},{"Id":3547,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-15?10:22:12","ReMark":"每天登錄"},{"Id":3542,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-14?09:02:21","ReMark":"每天登錄"},{"Id":3538,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-13?08:55:37","ReMark":"每天登錄"},{"Id":3533,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-10?15:20:27","ReMark":"每天登錄"},{"Id":3529,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-09?15:19:16","ReMark":"每天登錄"},{"Id":3520,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-11-02?11:53:46","ReMark":"每天登錄"},{"Id":3509,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-10-27?16:59:53","ReMark":"每天登錄"},{"Id":3496,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-10-23?14:29:33","ReMark":"每天登錄"},{"Id":3490,"MemberId":664,"UserName":"viange","TypeName":"每日登錄","Integral":10,"RecordDate":"2017-10-19?08:51:31","ReMark":"每天登錄"}]}

返回結(jié)果參數(shù)說(shuō)明:

?

字段名稱 字段編碼 數(shù)據(jù)類型 是否可空 備注
明細(xì)Id Id long
用戶id MemberId long
用戶名 UserName String
積分類型 TypeName String
積分?jǐn)?shù) Integral int
記錄日期 RecordDate String
備注 ReMark String

 

更多
  • 該日志由 于2020年05月30日發(fā)表在 未分類 分類下, 你可以發(fā)表評(píng)論,并在保留原文地址 及作者的情況下引用到你的網(wǎng)站或博客。
  • 本文鏈接: 個(gè)人中心相關(guān)接口數(shù)據(jù)描述 | 幫助信息-動(dòng)天數(shù)據(jù)
  • 版權(quán)所有: 幫助信息-動(dòng)天數(shù)據(jù)-轉(zhuǎn)載請(qǐng)標(biāo)明出處
  • 【上一篇】 【下一篇】

    0 Comments.

    發(fā)表評(píng)論