|
@@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Mvc;
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
using Library;
|
|
|
using LitJson;
|
|
|
+using System.Data;
|
|
|
|
|
|
namespace MySystem.Controllers
|
|
|
{
|
|
@@ -36,5 +37,19 @@ namespace MySystem.Controllers
|
|
|
// MqLinksHelper.Instance.doSomething("LKB01230600250000585","100");
|
|
|
return "ok";
|
|
|
}
|
|
|
+
|
|
|
+ public string bindapp()
|
|
|
+ {
|
|
|
+ DataTable dt = CustomerSqlConn.dtable("select Id,MchtNo from MerchantAddInfo where HdStatus=3 and CreateDate>='2023-10-01 00:00:00' and MchtNo!='' and MchtNo is not null", AppConfig.Base.SqlConnStr);
|
|
|
+ foreach(DataRow dr in dt.Rows)
|
|
|
+ {
|
|
|
+ CheckWeChatSignService.Instance.StartDo(new QueryMerchantStatus()
|
|
|
+ {
|
|
|
+ MerchantId = dr["Id"].ToString(),
|
|
|
+ MerchantNo = dr["MchtNo"].ToString(),
|
|
|
+ });
|
|
|
+ }
|
|
|
+ return "ok";
|
|
|
+ }
|
|
|
}
|
|
|
}
|