|
|
package com.yohoufo.order.service;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.alibaba.fastjson.TypeReference;
|
|
|
import com.github.jknack.handlebars.internal.Files;
|
|
|
import com.yohobuy.ufo.model.order.bo.SellerBo;
|
|
|
import com.yohobuy.ufo.model.order.common.EntrySellerType;
|
|
|
import com.yohoufo.dal.order.model.StoredSeller;
|
|
|
import com.yohoufo.order.BaseWebTest;
|
|
|
import com.yohoufo.order.model.dto.BuyerPenalty;
|
|
|
import com.yohoufo.order.service.handler.penalty.BuyerPenaltyRuleSelectorTest;
|
|
|
import com.yohoufo.order.service.impl.SellerService;
|
|
|
import com.yohoufo.order.service.impl.SellerWrapper;
|
|
|
import org.junit.Assert;
|
|
|
import org.junit.Test;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* Created by chao.chen on 2019/1/9.
|
|
|
*/
|
...
|
...
|
@@ -16,6 +28,8 @@ public class SellerServiceTest extends BaseWebTest { |
|
|
@Autowired
|
|
|
private SellerService sellerService;
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
public void testGetEntrySellerType(){
|
|
|
EntrySellerType none = sellerService.getEntrySellerType(44);
|
...
|
...
|
@@ -40,4 +54,9 @@ public class SellerServiceTest extends BaseWebTest { |
|
|
SellerBo sellerBo = sellerService.getSellerWithAuth(uid);
|
|
|
System.out.println(sellerBo);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|