移动系统liao
2024-11-12 1cb49b04ae6709e6054c328f5ed12bff9ca014c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***********************************************************************
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统                               
 *                Web: http://chuanyin.com                     
 *             Author:                                        
 *              Email:                               
 *         CreateTime: 202403/02   
 *        Description: 暂无
 ***********************************************************************/
 
using System.Threading.Tasks;
using CoreCms.Net.Caching.AccressToken;
using CoreCms.Net.IServices;
using CoreCms.Net.Model.ViewModels.UI;
using CoreCms.Net.WeChat.Service.Enums;
using CoreCms.Net.WeChat.Service.HttpClients;
using CoreCms.Net.WeChat.Service.Options;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using SKIT.FlurlHttpClient.Wechat.Api;
using SKIT.FlurlHttpClient.Wechat.Api.Models;
 
namespace CoreCms.Net.Web.WebApi.Controllers
{
    /// <summary>
    ///     默认接口示例
    /// </summary>
    public class DemoController : ControllerBase
    {
        private ICoreCmsPagesServices _pagesServices;
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="pagesServices"></param>
        public DemoController(ICoreCmsPagesServices pagesServices)
        {
            _pagesServices = pagesServices;
        }
 
 
        /// <summary>
        ///     默认首页
        /// </summary>
        /// <returns></returns>
        public async Task<WebApiCallBack> Index()
        {
            var item = await _pagesServices.GetPageConfig("mobile22021100321361811869");
            return item;
        }
 
 
 
 
    }
}