文档
测试

获取商城配置信息

GET
/admin/merchant_config/info/{merchantId}

说明 / 示例

```json { "status": 200, "error": "", "message": "success", "payload": { "merchantId": 1, "mallName": null, "mallDescription": null, "mallStatus": null, "minInventoryTip": null, "sellOutTip": null, "cancelOrderDuration": null, "pointExchangeRate": 10, "payPointId": 6, "growthPointId": 7, "couponPointId": 11, "pointSpuId": 119, "orderExpireTime": null, "meansMerchantId": null, "meansAppId": "ac1ea2ce", "meansAppSecret": "2bb91e2568674b13b1d6a3fbe83bf5ef" } } ``` ```java /** * 支付类型积分id */ private Integer payPointId; /** * 成长值类型积分id */ private Integer growthPointId; /** * 直购券类型积分id */ private Integer couponPointId; /** * 积分商品id */ private Integer pointSpuId; /** * 订单过期时间(单位秒) */ private Long orderExpireTime; /** * 迷斯商户id */ private Integer meansMerchantId; /** * 迷斯appId */ private String meansAppId; /** * 迷斯签名秘钥 */ private String meansAppSecret; /** * 商户id,一个商户一条配置记录 */ @NotNull(message = "商户id不能为空!") private Integer merchantId; /** * 商城名称 */ private String mallName; /** * 商城简介 */ private String mallDescription; /** * 商城状态 是否营业 */ private Boolean mallStatus; /** * 最小库存提示 */ private Integer minInventoryTip; /** * 售空提示 */ private Boolean sellOutTip; /*交易相关*/ /** * 待付款订单保留时间 */ @NotNull(message = "订单自动取消时间不能为空!") @Min(value = 1, message = "最少设置1分!") private Integer cancelOrderDuration; // /** // * 自动确认收获时间 单位天 // */ // private Integer autoConfirmReceiptDuration; // // /** // * 售后开关 // */ // private Boolean openAfterSale; // // /** // * 允许售后时长 确认收货多少天内可以申请 // */ // private Integer allowAfterSaleDuration; // // /** // * 是否开启自动退款 // */ // @NotNull(message = "售后开关状态不能为空!") // private Boolean autoRefund; // // /** // * 自动退款时长 天 // */ // private Integer autoRefundDuration; // // /** // * 开启退款校验 // */ // private Boolean refundVerify; // // /** // * 退款校验价格 单位分 大于该金额需要校验 // */ // private Integer refundVerifyMoney; /*积分信息*/ /** * 现金和积分的兑换比例,用于下单时根据现金价格计算积分价格。如3代表一元现金对应3积分 */ @Min(value = 1, message = "比例最小为1") @NotNull(message = "积分抵扣比例不能为空") private Integer pointExchangeRate; // /** // * 积分获取上限 每天获取上限 购买上限 // */ // private Integer pointGainLimit; ```