瀏覽代碼

缴费接口调用,飞扬版外链接跳转修复

西昌缴费二期
liangkun 2 年之前
父節點
當前提交
2375999559
共有 6 個文件被更改,包括 44 次插入7 次删除
  1. +12
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeForm.js
  3. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/payxml/PayResultXMLFile.xml
  4. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs
  5. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  6. +11
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminTop/Index.js

+ 12
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs 查看文件

@@ -1254,7 +1254,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
string payment = entity.PayMoney.ToString();
string curcode = "01";
string txcode = "530550";
string remark1 = model.StuNo + "-20" + model.Grade;
string remark1 = model.StuNo;
string remark2 = entity.PayFeeDetail.Replace("&", "-");
string returntype = "3";
string timeout = DateTime.Now.AddMinutes(10).ToString("yyyyMMddHHmmss");
@@ -1276,12 +1276,19 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
}
String url = bankURL + "&" + tmp1 + "&MAC=" + strMd5;
string reJson = HttpMethods.Post(url);
LogEntity logEntity=new LogEntity();
logEntity.F_CategoryId = 121;
logEntity.F_ExecuteResultJson = reJson;
logEntity.WriteLog();
//HttpConnect conn = new HttpConnect();
//string reJson = conn.Post(url, "");
JsonBean MemberInfoList = JsonConvert.DeserializeObject<JsonBean>(reJson);
if (MemberInfoList.SUCCESS.Equals("true"))
{
string imgCode = HttpMethods.Post(MemberInfoList.PAYURL);
logEntity.F_CategoryId = 121;
logEntity.F_ExecuteResultJson = imgCode;
logEntity.WriteLog();
MemberInfoList = JsonConvert.DeserializeObject<JsonBean>(imgCode);
if (MemberInfoList.SUCCESS.Equals("true"))
{
@@ -1384,7 +1391,10 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
bt = qrCodeEncoder.Encode(enCodeString, Encoding.UTF8);
//二维码图片的名称
string filename = orderId;

if (!Directory.Exists(Server.MapPath("~/Content/images/QRCode/")))
{
Directory.CreateDirectory(Server.MapPath("~/Content/images/QRCode/"));
}
var path = Server.MapPath("~/Content/images/QRCode/") + filename + ".jpg";
//保存二维码图片在photos路径下
try


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeForm.js 查看文件

@@ -121,7 +121,7 @@ var bootstrap = function ($, learun) {
param.LoanMoney = $('#LoanMoney').val();
param.PayFeeDetail = detail;
param.PayMoney = $('#PayMoney').html();
learun.loading(true);
learun.httpAsyncPost(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/PayFeeQRCode?keyValue=' + keyValue, { strEntity: JSON.stringify(param), detailList: JSON.stringify(list) }, function (res) {
learun.loading(false);
//console.log(res);


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/payxml/PayResultXMLFile.xml 查看文件

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="gb2312" standalone="yes" ?>
<TX>
<REQUEST_SN>2020111112121212</REQUEST_SN>
<CUST_ID>105000082201406</CUST_ID>
<USER_ID>002</USER_ID>
<PASSWORD>xcyz123456</PASSWORD>
<TX_CODE>5W1002</TX_CODE>
<LANGUAGE>CN</LANGUAGE>
<TX_INFO>
<KIND>0</KIND>
<ORDER>¶©µ¥ºÅ</ORDER>
<DEXCEL>1</DEXCEL>
<NORDERBY>1</NORDERBY>
<PAGE>0</PAGE>
<POS_CODE>043724806</POS_CODE>
<STATUS>3</STATUS>
</TX_INFO>
</TX>

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs 查看文件

@@ -14,6 +14,7 @@ namespace Learun.Application.Web.Controllers
{
//ccb Notice 建行支付通知

[HttpPost]
public ActionResult ccb()
{
//签名串


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj 查看文件

@@ -3271,6 +3271,7 @@
<Content Include="Content\paper\dist\local\zh-TW.js" />
<Content Include="Content\paper\easing.js" />
<Content Include="Content\paper\images\duigou.png" />
<Content Include="Content\payxml\PayResultXMLFile.xml" />
<Content Include="Content\qingju\128.png" />
<Content Include="Content\signalr\jquery.signalR-2.2.2.js" />
<Content Include="Content\signalr\jquery.signalR-2.2.2.min.js" />


+ 11
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminTop/Index.js 查看文件

@@ -10,6 +10,7 @@
var z = A[B] || [];
var o = a('<ul class="lr-first-menu-list"></ul>');
for (var t = 0, w = z.length; t < w; t++) {
var u = z[t];
if (u.F_IsMenu == 1) {
var n = a("<li></li>");
@@ -32,9 +33,15 @@
if (!!C.F_Description) {
p.attr("title", C.F_Description)
}
var D = '<a id="' + C.F_ModuleId + '" href="javascript:void(0);" class="lr-menu-item" >';
if (C.F_Target == 'open') {
var D = '<a id="' + C.F_ModuleId + '" href="' + C.F_UrlAddress + '" target="_blank" class="lr-menu-item" >';
} else {
var D = '<a id="' + C.F_ModuleId + '" href="javascript:void(0);" class="lr-menu-item" >';
}
D += '<i class="' + C.F_Icon + ' lr-menu-item-icon"></i>';
D += '<span class="lr-menu-item-text">' + C.F_FullName + "</span>";
D += '<span class="lr-menu-item-text">' + C.F_FullName + "-----" + v + "</span>";
D += "</a>";
p.append(D);
var K = A[C.F_ModuleId] || [];
@@ -165,12 +172,12 @@
function () {
a(this).prev().removeClass("open")
})
} else if (p.hasClass("lr-three-menu-list")){
} else if (p.hasClass("lr-three-menu-list")) {
p.parents(".lr-second-menu-list").find(".lr-three-menu-list").slideUp(300,
function () {
a(this).prev().removeClass("open")
})
}else{
} else {
p.parents(".lr-three-menu-list").find(".lr-four-menu-list").slideUp(300,
function () {
a(this).prev().removeClass("open")


Loading…
取消
儲存