Compare commits
2 Commits
6da50d70d0
...
46175c7295
| Author | SHA1 | Date | |
|---|---|---|---|
| 46175c7295 | |||
| d72f637be3 |
@@ -31,7 +31,7 @@
|
|||||||
<select id="pageList" resultMap="VOResultMap">
|
<select id="pageList" resultMap="VOResultMap">
|
||||||
<include refid="selectVOSql"/>
|
<include refid="selectVOSql"/>
|
||||||
<where>
|
<where>
|
||||||
c.status = 1
|
and c.status = 1
|
||||||
and c.lang = #{lang}
|
and c.lang = #{lang}
|
||||||
<if test="categoryId != null and categoryId != 0">
|
<if test="categoryId != null and categoryId != 0">
|
||||||
AND cc.id = #{categoryId}
|
AND cc.id = #{categoryId}
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
AND c.tutorial_title like CONCAT('%', #{tutorialTitle}, '%')
|
AND c.tutorial_title like CONCAT('%', #{tutorialTitle}, '%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY c.recommend_status,c.create_time asc
|
ORDER BY c.recommend_status,c.create_time,c.id asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 分页查询 -->
|
<!-- 分页查询 -->
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ service.interceptors.response.use(
|
|||||||
case 401:
|
case 401:
|
||||||
errorMsg = "Token 已过期,请重新登录";
|
errorMsg = "Token 已过期,请重新登录";
|
||||||
localStorage.removeItem("token");
|
localStorage.removeItem("token");
|
||||||
window.location.href = "/admin/login.html";
|
top.location.href = "/admin/login.html";
|
||||||
break;
|
break;
|
||||||
case 403:
|
case 403:
|
||||||
errorMsg = "暂无权限访问该接口";
|
errorMsg = "暂无权限访问该接口";
|
||||||
|
|||||||
Reference in New Issue
Block a user