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();
|
}
|
}
|
}
|