郎学彬 преди 3 години
родител
ревизия
5c1c7fffc1
променени са 1 файла, в които са добавени 3 реда и са изтрити 7 реда
  1. 3 7
      tianhu-system/src/main/java/com/tianhu/system/companyAuth/controller/OwnAuthController.java

+ 3 - 7
tianhu-system/src/main/java/com/tianhu/system/companyAuth/controller/OwnAuthController.java

@@ -27,7 +27,6 @@ import com.tianhu.system.mapper.SysProductMenuMapper;
 import com.tianhu.system.mapper.SysRoleMapper;
 import com.tianhu.system.mapper.SysRoleMenuMapper;
 import com.tianhu.system.service.*;
-import com.tianhu.system.service.impl.SysUserServiceImpl;
 import com.tianhu.system.utils.FlowableService;
 import com.tianhu.system.utils.RegularUtil;
 import com.tianhu.system.utils.SysConstant;
@@ -43,7 +42,6 @@ import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.multipart.MultipartFile;
 
 import javax.servlet.http.HttpServletRequest;
-import java.io.IOException;
 import java.text.SimpleDateFormat;
 import java.util.*;
 import java.util.concurrent.TimeUnit;
@@ -76,8 +74,6 @@ public class OwnAuthController extends BaseController {
     @Autowired
     private IOwnCompanyService companyService;
     @Autowired
-    private IOwnSysUserService ownSysUserService;
-    @Autowired
     private ISysDeptService deptService;
     @Autowired
     private ISysRoleService roleService;
@@ -88,8 +84,6 @@ public class OwnAuthController extends BaseController {
     @Autowired
     private ISysConfigService configService;
     @Autowired
-    private SysRoleMenuMapper roleMenuMapper;
-    @Autowired
     private SysProductMenuMapper productMenuMapper;
     @Autowired
     private RemoteFileService remoteFileService;
@@ -925,12 +919,14 @@ public class OwnAuthController extends BaseController {
             try {
                 companyAccount = AxqCommonUtil.companyAccount(scyName, IDENTTYPECODE, scySocialCode, phoneNumber, scyPhone, AUTHENTICATIONMODE, handler, TYPECODE, handlerCard,new HttpConnector(jksPath,keyStorePassword,channel,platId));
                 }catch (Exception e) {
-                throw new Exception("开户失败!");
+                    System.out.println("开户失败==》"+e);
+                    throw new Exception("开户失败!");
                 }
         }else{
             try {
                 companyAccount = AxqCommonUtil.companyAccount(scyName, IDENTTYPECODE, scySocialCode, phoneNumber, scyPhone, AUTHENTICATIONMODE, scyLegal, TYPECODE, scyLegalId,new HttpConnector(jksPath,keyStorePassword,channel,platId));
             }catch (Exception e) {
+                System.out.println("开户失败==》"+e);
                 throw new Exception("开户失败!");
             }
             }