Authored by qinchao

接口返回已认证的信息(姓名和证件号)

... ... @@ -19,6 +19,7 @@ import com.yohoufo.order.service.IStoredSellerService;
import com.yohoufo.order.service.MerchantOrderPaymentService;
import com.yohoufo.order.service.cache.StoredSellerCacheService;
import com.yohoufo.order.service.proxy.InBoxFacade;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -137,6 +138,14 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
SellerResp sellerResp = new SellerResp();
sellerResp.setZhiMaCert(isZhiMaCert);
sellerResp.setZhiMaCertWithPhoto(isZhiMaCertWithPhoto);//新的芝麻认证状态(带身份证图片)
//把已认证的信息带回去,给app
if(zhiMaCert!=null){
sellerResp.setCertName(zhiMaCert.getCertName());
sellerResp.setCertNo(zhiMaCert.getCertNo());
}else{
sellerResp.setCertName(StringUtils.EMPTY);
sellerResp.setCertNo(StringUtils.EMPTY);
}
//sellerResp.setPhotoCheckExceedLimit(isPhotoCheckExceedLimit(uid));
sellerResp.setStoredBefore(storedBefore);
if (storedBefore) {
... ...