|
@@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
+import com.liangjian11.ymall.config.RedirectPathSource;
|
|
import com.liangjian11.ymall.handle.WechatHandle;
|
|
import com.liangjian11.ymall.handle.WechatHandle;
|
|
import com.liangjian11.ymall.mapper.*;
|
|
import com.liangjian11.ymall.mapper.*;
|
|
import com.liangjian11.ymall.model.*;
|
|
import com.liangjian11.ymall.model.*;
|
|
@@ -32,6 +33,7 @@ import org.springframework.web.client.RestTemplate;
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
|
|
|
|
|
|
+import javax.annotation.PostConstruct;
|
|
import javax.management.Query;
|
|
import javax.management.Query;
|
|
import javax.servlet.http.Cookie;
|
|
import javax.servlet.http.Cookie;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -87,6 +89,14 @@ public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> impleme
|
|
@Autowired
|
|
@Autowired
|
|
private UserRoleService userRoleService;
|
|
private UserRoleService userRoleService;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private RedirectPathSource redirectPathSource;
|
|
|
|
+
|
|
|
|
+ @PostConstruct
|
|
|
|
+ public void init(){
|
|
|
|
+ redirectPathSource.setDoctorService(this);
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public ResultInfo query(FiltersData data) {
|
|
public ResultInfo query(FiltersData data) {
|
|
Integer size = data.getPageSize();
|
|
Integer size = data.getPageSize();
|