|
@@ -12,6 +12,7 @@ import com.zhongzheng.modules.goods.vo.GoodsUserVo;
|
|
import com.zhongzheng.modules.goods.vo.UserNewGoodsVo;
|
|
import com.zhongzheng.modules.goods.vo.UserNewGoodsVo;
|
|
import com.zhongzheng.modules.order.bo.SpecialQuestionBo;
|
|
import com.zhongzheng.modules.order.bo.SpecialQuestionBo;
|
|
import com.zhongzheng.modules.order.vo.SpecialQuestionVo;
|
|
import com.zhongzheng.modules.order.vo.SpecialQuestionVo;
|
|
|
|
+import com.zhongzheng.modules.user.bo.UserAppTelphoneLoginBo;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -20,6 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 课程Controller
|
|
* 课程Controller
|
|
@@ -217,4 +219,13 @@ public class CourseController extends BaseController {
|
|
return AjaxResult.success(iCourseService.getOldGoodsList(loginUser.getUser().getUserId()));
|
|
return AjaxResult.success(iCourseService.getOldGoodsList(loginUser.getUser().getUserId()));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ @ApiOperation("获取跳转用户Key")
|
|
|
|
+ @GetMapping("/skipPort")
|
|
|
|
+ public AjaxResult<Map<String,String>> getUserSkipPort() {
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
+ Map<String,String> map = iCourseService.getUserSkipPort(loginUser.getUser().getUserId());
|
|
|
|
+ return AjaxResult.success(map);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|