小程序主页接口
This commit is contained in:
@@ -63,7 +63,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
|||||||
// 重置根路径,防止satoken切割根路径导致匹配不到路径
|
// 重置根路径,防止satoken切割根路径导致匹配不到路径
|
||||||
ApplicationInfo.routePrefix = "";
|
ApplicationInfo.routePrefix = "";
|
||||||
|
|
||||||
SaRouter.match("/user/**").notMatch("/user/login", "/user/test", "/user/geo/**", "/user/home/**")
|
SaRouter.match("/user/**").notMatch("/user/login", "/user/test", "/user/geo/**", "/user/home/**", "/user/home/**", "/user/dict/**")
|
||||||
.notMatch("/pay/**")
|
.notMatch("/pay/**")
|
||||||
.notMatch("/notify/**")
|
.notMatch("/notify/**")
|
||||||
.check(r -> MyStpLogic.CLIENT_LOGIC.checkLogin())
|
.check(r -> MyStpLogic.CLIENT_LOGIC.checkLogin())
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
and a.name like concat('%', #{name}, '%')
|
and a.name like concat('%', #{name}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="classify != null">
|
<if test="classify != null">
|
||||||
and c.category_id = #{classify}
|
and c.group_category_id = #{classify}
|
||||||
</if>
|
</if>
|
||||||
<if test="distanceType != null">
|
<if test="distanceType != null">
|
||||||
and ST_Distance_Sphere(POINT(b.lng, b.lat), POINT(#{lng}, #{lat})) <= #{distanceType}
|
and ST_Distance_Sphere(POINT(b.lng, b.lat), POINT(#{lng}, #{lat})) <= #{distanceType}
|
||||||
|
|||||||
Reference in New Issue
Block a user