|
|
@@ -19,6 +19,8 @@ import com.zhongzheng.modules.course.vo.CourseTopicVo;
|
|
|
import com.zhongzheng.modules.course.vo.CourseUserVo;
|
|
|
import com.zhongzheng.modules.data.domain.DataWxTpClick;
|
|
|
import com.zhongzheng.modules.data.service.IDataWxTpClickService;
|
|
|
+import com.zhongzheng.modules.distribution.service.IDistributionSellerService;
|
|
|
+import com.zhongzheng.modules.distribution.vo.DistributionSellerVo;
|
|
|
import com.zhongzheng.modules.goods.service.IGoodsSpecTemplateService;
|
|
|
import com.zhongzheng.modules.goods.vo.GoodsSpecTemplateVo;
|
|
|
import com.zhongzheng.modules.goods.vo.GoodsUserVo;
|
|
|
@@ -60,7 +62,7 @@ public class CommonController extends BaseController {
|
|
|
|
|
|
private final ISysConfigService configService;
|
|
|
|
|
|
-
|
|
|
+ private final IDistributionSellerService iDistributionSellerService;
|
|
|
|
|
|
@Autowired
|
|
|
private RedisCache redisCache;
|
|
|
@@ -307,4 +309,18 @@ public class CommonController extends BaseController {
|
|
|
return toAjax(iDataWxTpClickService.save(dataWxTpClick)? 1 : 0);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取用户信息
|
|
|
+ *
|
|
|
+ * @return 用户信息
|
|
|
+ */
|
|
|
+ @ApiOperation("通过分享code查询业务员用户信息")
|
|
|
+ @GetMapping("/distribution/getInfoByShareCode")
|
|
|
+ public AjaxResult<DistributionSellerVo> getInfoByShareCode(String shareCode)
|
|
|
+ {
|
|
|
+ DistributionSellerVo vo = iDistributionSellerService.queryByShareCode(shareCode);
|
|
|
+ vo.setNull();
|
|
|
+ return AjaxResult.success(vo);
|
|
|
+ }
|
|
|
+
|
|
|
}
|