27 lines
665 B
C#
27 lines
665 B
C#
|
|
|
|
using Refit;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CloudGaming.Core.AgileConfig.AgileConfigApi;
|
|
|
|
/// <summary>
|
|
/// api 接口 Config接口
|
|
/// </summary>
|
|
public interface IAgileConfigApi
|
|
{
|
|
[Get("/config/getjson")]
|
|
Task<ResponseCode> GetJson([Query] string appId, [Query] string env);
|
|
|
|
[Post("/config/saveJson")]
|
|
Task<ResponseCode> SaveJson([Query] string appId, [Query] string env, [Body] AgileConfigApiVM agileConfig);
|
|
|
|
[Post("/config/publish")]
|
|
Task<ResponseCode> Publish([Query] string env, [Body] AgileConfigPublishVM agileConfigPublish);
|
|
}
|