|
|
@@ -113,13 +113,11 @@ public class UserScrmController extends AppBaseController {
|
|
|
@GetMapping("/getUserInfo")
|
|
|
public R getUserInfo(HttpServletRequest request){
|
|
|
|
|
|
- String queryAppId = null;
|
|
|
// 获取请求头中的 appid
|
|
|
- String appid = request.getHeader("appid");
|
|
|
- if(StringUtils.isNotEmpty(appid)){
|
|
|
- queryAppId = appid;
|
|
|
- }else{
|
|
|
- queryAppId = configUtil.generateConfigByKey(SysConfigEnum.COURSE_MA_CONFIG.getKey()).getString("appid");
|
|
|
+ String queryAppId = request.getHeader("appId");
|
|
|
+ if(StringUtils.isEmpty(queryAppId)){
|
|
|
+ log.error("【获取用户信息】:appId不能为空");
|
|
|
+ return R.error("appId不能为空");
|
|
|
}
|
|
|
try {
|
|
|
FsUserScrm user=userService.selectFsUserById(Long.parseLong(getUserId()));
|