package com.pig4cloud.pigx.app.controller.as;

import com.pig4cloud.pigx.app.service.as.AsSubAccountService;
import com.pig4cloud.pigx.common.core.util.R;
import com.pig4cloud.pigx.common.security.annotation.Inner;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * as 订阅账号表
 *
 * @author amigo
 * @date 2023-8
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("/asSubAccount")
@Tag(description = "AS-subAccount-manage", name = "AS-流媒体账号")
@SecurityRequirement(name = HttpHeaders.AUTHORIZATION)
public class AsSubAccountController {

    private final AsSubAccountService asSubAccountService;

	//get by userid (前台) 其他条件 平台、订阅付费计划、 时间、

    @Inner(value = false)
	@Operation(summary = "获取订阅账号", description = "获取订阅账号")
	@GetMapping("/getSubAccountBy")
	public R getSubAccountBy() {
//		return R.ok(asSubAccountService.getOne());
//		return R.ok(asSubAccountService.listByMap());
        return null;
	}


}
