管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-07-26 a10e925cdda6f92a7bbf86188e317f5c5ee839b5
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
using ExportMap.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
 
namespace ExportMap.Controllers
{
    /**
     * 测试:
     * 
     * http://localhost/ExportMap/licenseEncryption/getLicenseSecret
     * http://localhost/ExportMap/licenseEncryption/getLicenseDecrypt
     */
    public class licenseEncryptionController : ApiController
    {
        [HttpGet]
        [HttpPost]
        public Secret getLicenseSecret()
        {
            return new Secret();
        }
 
        [HttpGet]
        [HttpPost]
        public Decrypt getLicenseDecrypt()
        {
            return new Decrypt();
        }
    }
}