简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.member-synchron.frontend.assets.income-list

参数:

参数名 是否必须 类型 说明
page int 页码

返回示例:

正确时返回:

{
	"result":1,
	"msg":"",
	"data":{
		"member"{
			"uid":1252,
			"nickname":"13*******66",
			"avatar":"https:\/\/dev4.yunzmall.com\/attachment\/image\/52bc3191affca0d4042532c1ad3888b5.jpg",
			"mobile":"13226666666",
			"avatar_image":"https:\/\/dev4.yunzmall.com\/attachment\/image\/52bc3191affca0d4042532c1ad3888b5.jpg",
			"username":"13*******66"
		},
		"ion":"0.00",
		"income_list":{
			"current_page":1,
			"data":[
			{
				"id":1,
				"uid":1,
				"member_type":0,
				"order_sn":"SN2022041115241015487",
				"order_amount":"240.00",
				"extract_order_rate":50,
				"profit_rate":10,
				"reward":12,
				"created_at":"2022-04-12 01:04:46",
				"updated_at":"2022-04-12 01:04:46",
				"deleted_at":null,
				"member_type_name":null
			},
			{
				"id":2,
				"uid":1,
				"member_type":1,
				"order_sn":"SN2022041110545016487",
				"order_amount":"100.00",
				"extract_order_rate":50,
				"profit_rate":10,
				"reward":5,
				"created_at":"2022-04-12 01:04:46",
				"updated_at":"2022-04-12 01:04:46",
				"deleted_at":null,
				"member_type_name":"\u5546\u6237"
			}
			],
			"first_page_url":"http:\/\/dev12.yunzmall.com\/shop\/synchronous\/income?page=1",
			"from":1,
			"last_page":1,
			"last_page_url":"http:\/\/dev12.yunzmall.com\/shop\/synchronous\/income?page=1",
			"links":[
				{"url":null,"label":"« Previous","active":false},{"url":"http:\/\/dev12.yunzmall.com\/shop\/synchronous\/income?page=1","label":"1","active":true},
				{"url":null,"label":"Next »","active":false}
				],
				"next_page_url":null,
				"path":"http:\/\/dev12.yunzmall.com\/shop\/synchronous\/income",
				"per_page":20,
				"prev_page_url":null,
				"to":2,
				"total":2
		}
	}
}

错误时返回:

  {
  }

member返回参数说明:会员基本信息

参数名 类型 说明
名称 类型 说明
uid int 会员id
nickname string 昵称
avatar_image string 头像
mobile string 手机号

ion返回参数说明:

参数名 类型 说明
名称 类型 说明
ion float 离子总数

income_list返回参数说明:收入列表(有分页)

参数名 类型 说明
名称 类型 说明
order_sn string 订单号
order_amount float 订单金额
extract_order_rate float 订单金额抽取比例
profit_rate float 分润比例
reward float 分红离子数
member_type_name string 分润类型