Quellcode durchsuchen

Merge branch '西昌分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 西昌分支

西昌缴费二期
杨晓琪 vor 2 Jahren
Ursprung
Commit
880ef8648d
5 geänderte Dateien mit 13 neuen und 5 gelöschten Zeilen
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic_PayFee/PayFeeIndex.js
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  3. +8
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic_PayFee/StuInfoBasic_PayFeeEntity.cs
  5. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic_PayFee/PayFeeIndex.js Datei anzeigen

@@ -108,7 +108,7 @@ var bootstrap = function ($, learun) {
{
label: "性别", name: "GenderNo", width: 80, align: "left",
formatter: function (cellvalue) {
return cellvalue == true ? "男" : "女";
return cellvalue === true ? "男" : "女";
}
},
{ label: "身份证号", name: "IdentityCardNo", width: 150, align: "left" },


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Datei anzeigen

@@ -190,6 +190,7 @@
},
filters: {
sex: function (value) {
console.log(value);
return value ? "男生" : "女生";

},


+ 8
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs Datei anzeigen

@@ -102,6 +102,13 @@ namespace Learun.Application.WebApi.Modules
return Success(new { appid, secret });
}

public class wxinfo
{
public string errcode { get; set; }
public string errmsg { get; set; }
public string openid { get; set; }
}

public Response GetWeixinAccess_token(dynamic _)
{
var entity = weChatConfigIbll.GetEnableEntity();
@@ -112,7 +119,7 @@ namespace Learun.Application.WebApi.Modules
var responsejson = HttpGet("https://api.weixin.qq.com/sns/oauth2/access_token?appid=" + appid + "&secret=" + secret + "&code=" + code + "&grant_type=authorization_code");
if (!string.IsNullOrEmpty(responsejson))
{
var weixintokenobj = JsonConvert.DeserializeObject<dynamic>(responsejson);
var weixintokenobj = JsonConvert.DeserializeObject<wxinfo>(responsejson);
if (string.IsNullOrEmpty(weixintokenobj.errcode))
{
string openid = weixintokenobj.openid;


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic_PayFee/StuInfoBasic_PayFeeEntity.cs Datei anzeigen

@@ -62,7 +62,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration

[NotMapped] public string StuCode { get; set; }
[NotMapped] public string StuName { get; set; }
[NotMapped] public string GenderNo { get; set; }
[NotMapped] public bool? GenderNo { get; set; }
[NotMapped] public string IdentityCardNo { get; set; }
[NotMapped] public string DeptNo { get; set; }
[NotMapped] public string MajorNo { get; set; }


+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js Datei anzeigen

@@ -21,8 +21,8 @@ export default {
// "http://192.168.2.98:8088/"
// ],
"apiHost": [
// "http://localhost:31173/"
"http://123.57.209.16:31173/"
"http://localhost:31173/"
// "http://123.57.209.16:31173/"
],
"webHost":"http://demo.bjquanjiang.com:8081/",
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示


Laden…
Abbrechen
Speichern