1551934118171352.jpg

文章内容

自助建站设置上传图片接口
作者:admin | 时间:2020-05-30 11:21:17

(1) 请求参数:

 

参数名称

必填

参数值说明

格式要求

openId

OpenID

String

Files

文件上传对象

Object

 

(2) 返回值说明:Json格式

返回结果:

{"success":true,"msg":"","code":0,"data":{"Count":1,"Data": [{"ImageUrl":"http://www.xxx.com/Storage/master/applet/20100.jpg"}]}}

 

 

 

5.4申请退货接口

(3) 请求路径:xxx.com/smallprogapi/OrderRefund/PostApplyReturn

 

(4) 请求参数:

 

参数名称

必填

参数值说明

格式要求

openId

OpenID

String

formId

事件的表单ID,如果是支付则保存PreayId

String

orderId

订单编号

String

skuId

商品规格

String

Quantity

退货数量

Int

RefundAmount

退款金额

decimal

afterSaleType

售后类型

1:货口退款

2:退货退款

Int

RefundType

退款方式

1:原路返回

3:退到预付款

Int

RefundReason

退款原因

String

Remark

退货留言

String

BankName

银行名称

String

BankAccountName

银行开户名

String

BankAccountNo

银行卡卡号

String

UserCredentials

上传凭证

String

ContactPerson

联系人

string

ContactCellPhone

联系电话

string

refundId

售后编号(激活)

int?

OrderItemId

订单项编号

int?

 

(5) 返回值说明:Json格式

返回结果:

{"success":true,"msg":"成功的申请了退货","code":0,"data":0}