Authored by chenjian

fix:没有支付宝绑定的判断

... ... @@ -39,6 +39,7 @@ import com.yohoufo.order.service.seller.setting.SellerEnterApplyService;
import com.yohoufo.order.service.seller.setting.SellerService;
import com.yohoufo.order.service.seller.setting.SellerWrapper;
import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -312,7 +313,7 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi
}
AuthorizeResultRespVO aliPayAccount = getAlipayIDOrAccount(uid);
if(aliPayAccount == null){
if(aliPayAccount == null || (StringUtils.isBlank(aliPayAccount.getAlipayAccount()) && StringUtils.isBlank(aliPayAccount.getAlipayId()))){
logger.error("quitStoredSeller not allowed cause of aliPayAccount is blank ,uid {}" ,uid);
throw new UfoServiceException(400,"支付宝账号未绑定,不允许退驻!");
}
... ...