|
@@ -469,6 +469,30 @@ namespace MySystem
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
+ #region 小程序退回开发状态
|
|
|
+
|
|
|
+ public string MiniProgramCancel(string AppVersion)
|
|
|
+ {
|
|
|
+ string result = "";
|
|
|
+ try
|
|
|
+ {
|
|
|
+ IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", AppId, PrivateKey, "json", "1.0", "RSA2", AlipayPublicKey, "UTF-8", false);
|
|
|
+ AlipayOpenMiniVersionAuditedCancelRequest request = new AlipayOpenMiniVersionAuditedCancelRequest();
|
|
|
+ AlipayOpenMiniVersionAuditedCancelModel model = new AlipayOpenMiniVersionAuditedCancelModel();
|
|
|
+ model.AppVersion = AppVersion;
|
|
|
+ request.SetBizModel(model);
|
|
|
+ AlipayOpenMiniVersionAuditedCancelResponse response = client.Execute(request, null, "202306BBdf295279800a428ea07f5574bb73eX31");
|
|
|
+ result = response.Body;
|
|
|
+ }
|
|
|
+ catch (Exception ex)
|
|
|
+ {
|
|
|
+ function.WriteLog(DateTime.Now.ToString() + "\r\n" + ex.ToString(), "小程序退回开发状态异常");
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
|
|
|
|
|
|
|