开发订单查询
This commit is contained in:
		@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.PathVariable;
 | 
			
		||||
public interface UserFeignClient {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 提货点地址信息
 | 
			
		||||
     * 配送点地址信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param userId
 | 
			
		||||
     * @return
 | 
			
		||||
 
 | 
			
		||||
@@ -1,13 +1,13 @@
 | 
			
		||||
package com.yovinchen.xlcs.product.controller;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import com.baomidou.mybatisplus.core.metadata.IPage;
 | 
			
		||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 | 
			
		||||
import com.yovinchen.xlcs.common.result.Result;
 | 
			
		||||
import com.yovinchen.xlcs.model.product.SkuInfo;
 | 
			
		||||
import com.yovinchen.xlcs.product.service.SkuInfoService;
 | 
			
		||||
import com.yovinchen.xlcs.vo.product.SkuInfoQueryVo;
 | 
			
		||||
import com.yovinchen.xlcs.vo.product.SkuInfoVo;
 | 
			
		||||
import com.baomidou.mybatisplus.core.metadata.IPage;
 | 
			
		||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 | 
			
		||||
import io.swagger.annotations.Api;
 | 
			
		||||
import io.swagger.annotations.ApiOperation;
 | 
			
		||||
import io.swagger.annotations.ApiParam;
 | 
			
		||||
@@ -26,7 +26,6 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
@Api(value = "SkuInfo管理", tags = "商品Sku管理")
 | 
			
		||||
@RestController
 | 
			
		||||
 | 
			
		||||
@RequestMapping(value = "/admin/product/skuInfo")
 | 
			
		||||
public class SkuInfoController {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,7 @@ public class LeaderAddressController {
 | 
			
		||||
    @Resource
 | 
			
		||||
    private UserService userService;
 | 
			
		||||
 | 
			
		||||
    @ApiOperation("提货点地址信息")
 | 
			
		||||
    @ApiOperation("配送点地址信息")
 | 
			
		||||
    @GetMapping("inner/getUserAddressByUserId/{userId}")
 | 
			
		||||
    public LeaderAddressVo getUserAddressByUserId(@PathVariable("userId") Long userId) {
 | 
			
		||||
        return userService.getLeaderAddressByUserId(userId);
 | 
			
		||||
 
 | 
			
		||||
@@ -77,8 +77,8 @@ public class LoginWxService {
 | 
			
		||||
            userService.save(user);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        //5 根据userId查询提货点和配送员信息
 | 
			
		||||
        ////提货点  user表  user_delivery表
 | 
			
		||||
        //5 根据userId查询配送点和配送员信息
 | 
			
		||||
        ////配送点  user表  user_delivery表
 | 
			
		||||
        ////配送员    leader表
 | 
			
		||||
        LeaderAddressVo leaderAddressVo = userService.getLeaderAddressByUserId(user.getId());
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@ public interface UserService extends IService<User> {
 | 
			
		||||
    User getUserByOpenId(String openid);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据userId查询提货点和配送员信息
 | 
			
		||||
     * 根据userId查询配送点和配送员信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param id
 | 
			
		||||
     * @return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user