12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.AspNetCore.Mvc;
- using Microsoft.AspNetCore.Http;
- using Microsoft.Extensions.Logging;
- using Microsoft.Extensions.Options;
- using Microsoft.AspNetCore.Authorization;
- using MySystem.Service.Main;
- using System.Web;
- using MySystem.Models.Main;
- using LitJson;
- using Library;
- using System.Text.RegularExpressions;
- namespace MySystem.Areas.Api.Controllers.v1
- {
- [Area("Api")]
- [Route("/v1/kxsmain/[controller]/[action]")]
- public class TestController : BaseController
- {
- public TestController(IHttpContextAccessor accessor) : base(accessor)
- {
- }
- #region 测试方法
-
-
-
-
-
-
- [Route("/main/test/all")]
- public JsonResult List(string value)
- {
- value = PublicFunction.DesDecrypt(value);
- JsonData data = JsonMapper.ToObject(value);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- var CertMerchantName = "四川睿行文化传播有限公司";
- var BrandId = 1;
- var check = MerchantAddInfoService.Query(" CertMerchantName like '" + CertMerchantName + "%' and Status<1 and QueryCount<1 and BrandId=" + BrandId);
- return Json(new AppResultJson() { Status = "1", Info = "" });
- }
- #endregion
- }
- }
|