|
@@ -137,7 +137,12 @@ public class HaoDaExtHelper
|
|
|
MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == Id) ?? new MerchantInfo();
|
|
|
info.QueryCount = -1;
|
|
|
merchant.QueryCount = -1;
|
|
|
- info.AlipayRemark = jsonObj["alipay_merchant_indirect_authorder_create_response"]["msg"].ToString();
|
|
|
+ string msg = jsonObj["alipay_merchant_indirect_authorder_create_response"]["msg"].ToString();
|
|
|
+ if(result.Contains("\"sub_msg\""))
|
|
|
+ {
|
|
|
+ msg = jsonObj["alipay_merchant_indirect_authorder_create_response"]["sub_msg"].ToString();
|
|
|
+ }
|
|
|
+ info.AlipayRemark = msg;
|
|
|
LogHelper.Instance.WriteLog(DateTime.Now.ToString(), "提交支付宝商户意愿申请单");
|
|
|
LogHelper.Instance.WriteLog("end", "提交支付宝商户意愿申请单");
|
|
|
db.SaveChanges();
|