Quellcode durchsuchen

web端单点登录,app端打包错误修改

pengjing vor 2 Monaten
Ursprung
Commit
2c9ec8a182

+ 3 - 3
parth5/parth5/src/app/views/pages/partylife/practicalActivity/list.component.html

@@ -12,13 +12,13 @@
     <ion-item style="--padding-start: 0px;">
       <ion-tabs>
         <ion-tab-bar class="choice" slot="top">
-          <ion-tab-button [ngClass]="searchParams.type==0?'selectTabButton':''" tabindex="0" (click)="clickTab('0')">
+          <ion-tab-button [ngClass]="searchParams.type=='0'?'selectTabButton':''" tabindex="0" (click)="clickTab('0')">
             全部
           </ion-tab-button>
-          <ion-tab-button [ngClass]="searchParams.type==1?'selectTabButton':''" tabindex="1" (click)="clickTab('1')">
+          <ion-tab-button [ngClass]="searchParams.type=='1'?'selectTabButton':''" tabindex="1" (click)="clickTab('1')">
             可报名
           </ion-tab-button>
-          <ion-tab-button [ngClass]="searchParams.type==2?'selectTabButton':''" tabindex="2" (click)="clickTab('2')">
+          <ion-tab-button [ngClass]="searchParams.type=='2'?'selectTabButton':''" tabindex="2" (click)="clickTab('2')">
             已报名
           </ion-tab-button>
         </ion-tab-bar>

+ 3 - 1
parth5/parth5/src/app/views/tapp/tabs/tabs.module.ts

@@ -68,6 +68,7 @@ import {ShowpaperComponent} from "../../pages/examonline/showpaper/showpaper.com
 import {CardComponent as ShowpaperCardComponent} from "../../pages/examonline/showpaper/card/card.component";
 import {PracticalActivityComponent} from "../../pages/partylife/practicalActivity/list.component";
 import {PracticalActivityEditComponent} from "../../pages/partylife/practicalActivity/edit/edit.component";
+import {PracticalActivityDetailComponent} from "../../pages/partylife/practicalActivity/detail/detail.component";
 
 const pageComponents = [
   PositionComponent,
@@ -107,7 +108,8 @@ const pageComponents = [
   DzzfcEditComponent,
   DzzfcDetailComponent,
   PracticalActivityComponent,
-  PracticalActivityEditComponent
+  PracticalActivityEditComponent,
+  PracticalActivityDetailComponent
 ];
 
 const pubComponents = [

+ 2 - 1
src/main/java/com/ghsc/partybuild/controller/AppController.java

@@ -106,9 +106,10 @@ public class AppController {
             Map<String, String> mapParams = new HashMap<>();
             mapParams.put("ticket", ticket);
             mapParams.put("service", appConfig.portal_webUrl);
-            FileInputStream streamCer = new FileInputStream(appConfig.certPath + "/lyuap.cer");
+            FileInputStream streamCer = new FileInputStream(appConfig.certPath + "/_.gzws.edu.cn.crt");
             String reqData = remoteHelper.SSLGet(mapParams, validateUrl, "UTF-8", streamCer);
             //String reqData="<cas:authenticationSuccess><cas:user>2001001www</cas:user><cas:attributes>...</cas:attributes></cas:authenticationSuccess>";
+            logger.info("PortalLogin,reqData:" + reqData);
             int i = reqData.indexOf("<cas:user>");
             int j = reqData.indexOf("</cas:user>");