|
@@ -14,7 +14,8 @@ import com.xy.utils.MercAuthUtils;
|
|
|
import com.xy.utils.R;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import lombok.RequiredArgsConstructor;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
@@ -27,13 +28,13 @@ import java.util.List;
|
|
|
* @date 2023/3/13 14:38
|
|
|
*/
|
|
|
@Service
|
|
|
-@RequiredArgsConstructor
|
|
|
+@AllArgsConstructor(onConstructor_ = @Autowired)
|
|
|
@Api(tags = "商家端小程序-首页")
|
|
|
@RestMappingController("merc-mini/homepage")
|
|
|
public class MercMiniDeviceHomePageController {
|
|
|
|
|
|
- private final DeviceDataServiceImpl deviceDataService;
|
|
|
- private final OrderRefundService refundService;
|
|
|
+ private DeviceDataServiceImpl deviceDataService;
|
|
|
+ private OrderRefundService refundService;
|
|
|
|
|
|
@PostMapping("count")
|
|
|
@ApiOperation("首页统计")
|