package com.usky.vpp.controller.web;

import com.usky.common.core.bean.ApiResult;
import com.usky.vpp.service.VppMobileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 虚拟电厂 - Mobile 接口
 * 网关前缀: /prod-api/service-vpp
 */
@RestController
@RequestMapping("/mobile")
public class MobileController {

    @Autowired
    private VppMobileService vppMobileService;

    @GetMapping(value = "/operator/dashboard")
    public ApiResult<Object> operatorDashboard(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/owner/resource")
    public ApiResult<Object> ownerResource(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/owner/bill")
    public ApiResult<Object> ownerBill(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/message")
    public ApiResult<Object> messages(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @PutMapping(value = "/message/{id}/read")
    public ApiResult<Void> readMessage(@PathVariable("id") Long id, @RequestBody(required = false) Object body) {
        return ApiResult.success();
    }
    @PostMapping(value = "/wechat/subscribe")
    public ApiResult<Void> wechatSubscribe(@RequestBody(required = false) Object body) {
        return ApiResult.success();
    }
}
