Browse Source

修复部分问题

Pq 3 years ago
parent
commit
5cb8b7258f

+ 1 - 1
student/src/main/java/com/cooleshow/student/api/APIService.java

@@ -111,7 +111,7 @@ public interface APIService {
      * @param oldPhone
      * @param oldPhone
      * @return
      * @return
      */
      */
-    @GET(AUTH_GROUP + "user/updatePhone")
+    @POST(AUTH_GROUP + "user/updatePhone")
     Observable<BaseResponse<Object>> updatePhone(@Query("authCode") String authCode, @Query("newPhone") String newPhone, @Query("oldPhone") String oldPhone);
     Observable<BaseResponse<Object>> updatePhone(@Query("authCode") String authCode, @Query("newPhone") String newPhone, @Query("oldPhone") String oldPhone);
 
 
     /**
     /**

+ 1 - 0
student/src/main/res/layout/activity_html1.xml

@@ -63,6 +63,7 @@
                 app:layout_constraintTop_toBottomOf="@id/view" />
                 app:layout_constraintTop_toBottomOf="@id/view" />
 
 
             <ImageView
             <ImageView
+                android:visibility="gone"
                 android:id="@+id/btn_close"
                 android:id="@+id/btn_close"
                 android:layout_width="wrap_content"
                 android:layout_width="wrap_content"
                 android:layout_height="@dimen/dp_44"
                 android:layout_height="@dimen/dp_44"

+ 1 - 0
teacher/src/main/res/layout/activity_html1.xml

@@ -63,6 +63,7 @@
                 app:layout_constraintTop_toBottomOf="@id/view" />
                 app:layout_constraintTop_toBottomOf="@id/view" />
 
 
             <ImageView
             <ImageView
+                android:visibility="gone"
                 android:id="@+id/btn_close"
                 android:id="@+id/btn_close"
                 android:layout_width="wrap_content"
                 android:layout_width="wrap_content"
                 android:layout_height="@dimen/dp_44"
                 android:layout_height="@dimen/dp_44"