package com.fs.app.controller;

import cn.hutool.json.JSONUtil;
import com.fs.store.config.StoreConfig;

public class ttt {
    public static void main(String[] args) {

        String s="{\"storeAfterSalesDay\":3,\"tuiMoneyRate\":15,\"unPayTime\":1800,\"payRate\":10,\"hotSearch\":\"连花清瘟,阿莫西林,中成药\",\"certs\":\"https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20240907/5369057202a548e290b02dc41cbca44f.jpg,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20241226/18c9894842ed4ca8987ec25455670dd9.jpg,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20231028/0b290c5974ba447fb45874bbb59d1540.png,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20240907/efe3bca75a064097bc591fdb38005d2d.jpg,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20231028/6a35d375a7ba4b0c9f001b172019bf8a.png,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20231011/6c0cff03e1f74103b3741d21dcf65a6a.png,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20231110/b6d9feea3a7f42758dd62781ce08bb08.png,https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20231225/0cf2e48c75bd41bda2d8780496df1760.jpg\",\"refundConsignee\":\"润天大药房\",\"refundPhoneNumber\":\"19923690275\",\"refundAddress\":\"重庆市南岸区长电路11号茶园物流中心1号库4楼（为方便您的退换货，退回时请务必用纸条填写好订单号、原订单物流单号、原订单收货手机号及姓名一起寄回）\",\"createMoneyRate\":20,\"salesPriceRate\":100,\"serviceFee\":2,\"videoUrl\":\"https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20240716/0c0368ccdc79494c887bfc249e384f3f.mp4\"}";

        StoreConfig storeConfig= JSONUtil.toBean(s, StoreConfig.class);

        System.out.println(storeConfig);
    }
}
