baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
BIN
Binary file not shown.
+43
@@ -0,0 +1,43 @@
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
|
||||
namespace GuangFu.StringTracing
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// 有关 Bundling 的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=254725
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
|
||||
"~/Scripts/jquery-ui-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
||||
"~/Scripts/jquery.unobtrusive*",
|
||||
"~/Scripts/jquery.validate*"));
|
||||
|
||||
// 使用 Modernizr 的开发版本进行开发和了解信息。然后,当你做好
|
||||
// 生产准备时,请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
|
||||
bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
|
||||
|
||||
bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
|
||||
"~/Content/themes/base/jquery.ui.core.css",
|
||||
"~/Content/themes/base/jquery.ui.resizable.css",
|
||||
"~/Content/themes/base/jquery.ui.selectable.css",
|
||||
"~/Content/themes/base/jquery.ui.accordion.css",
|
||||
"~/Content/themes/base/jquery.ui.autocomplete.css",
|
||||
"~/Content/themes/base/jquery.ui.button.css",
|
||||
"~/Content/themes/base/jquery.ui.dialog.css",
|
||||
"~/Content/themes/base/jquery.ui.slider.css",
|
||||
"~/Content/themes/base/jquery.ui.tabs.css",
|
||||
"~/Content/themes/base/jquery.ui.datepicker.css",
|
||||
"~/Content/themes/base/jquery.ui.progressbar.css",
|
||||
"~/Content/themes/base/jquery.ui.theme.css"));
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
+213
@@ -0,0 +1,213 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace GuangFu.StringTracing.Common
|
||||
{
|
||||
public class Public
|
||||
{
|
||||
#region 递归收集所有城市(主城市 + 子城市)
|
||||
public static void CollectAllCities(
|
||||
IReadOnlyList<FenbeitongCity> cities,
|
||||
List<FenbeitongCity> result)
|
||||
{
|
||||
if (cities == null) return;
|
||||
|
||||
foreach (var city in cities)
|
||||
{
|
||||
result.Add(city);
|
||||
if (city.ChildCities != null && city.ChildCities.Count > 0)
|
||||
CollectAllCities(city.ChildCities, result);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 递归收集所有城市(主城市 + 子城市)
|
||||
public static void CollectInternationalCities(
|
||||
IReadOnlyList<InternationalCity> cities,
|
||||
List<InternationalCity> result)
|
||||
{
|
||||
if (cities == null) return;
|
||||
|
||||
foreach (var city in cities)
|
||||
{
|
||||
result.Add(city);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
#region 自定义参数
|
||||
|
||||
#region 分贝通国内城市
|
||||
public class FenbeitongCity
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public int Type { get; set; }
|
||||
public List<FenbeitongCity> ChildCities { get; set; }
|
||||
}
|
||||
public class ApiResponse
|
||||
{
|
||||
public string trace_id { get; set; }
|
||||
public int code { get; set; }
|
||||
public string msg { get; set; }
|
||||
public DataContainer data { get; set; }
|
||||
public string request_id { get; set; }
|
||||
}
|
||||
|
||||
public class DataContainer
|
||||
{
|
||||
public List<FenbeitongCity> cities { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分贝通国际城市
|
||||
public class InternationalCity
|
||||
{
|
||||
public string id { get; set; }
|
||||
|
||||
public string name { get; set; }
|
||||
|
||||
public string en_name { get; set; }
|
||||
}
|
||||
public class InternationalResponse
|
||||
{
|
||||
public string trace_id { get; set; }
|
||||
public int code { get; set; }
|
||||
public string msg { get; set; }
|
||||
public InternationalData data { get; set; }
|
||||
public string request_id { get; set; }
|
||||
}
|
||||
|
||||
public class InternationalData
|
||||
{
|
||||
public List<InternationalCity> countries { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 携程国际国家
|
||||
public class XCCountry
|
||||
{
|
||||
public string responseCode { get; set; }
|
||||
|
||||
public string responseDesc { get; set; }
|
||||
|
||||
public List<CountryList> countryList { get; set; }
|
||||
}
|
||||
public class CountryList
|
||||
{
|
||||
public string countryId { get; set; }
|
||||
public string name { get; set; }
|
||||
public string enName { get; set; }
|
||||
public string code { get; set; }
|
||||
public string continentId { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 携程国内城市
|
||||
|
||||
public class CountyList
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int countyId { get; set; }
|
||||
/// <summary>
|
||||
/// 酉阳
|
||||
/// </summary>
|
||||
public string countyName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string countyEnName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string countyCode { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string countyPinyin { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int corpTag { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string districtCode { get; set; }
|
||||
}
|
||||
|
||||
public class PrefectureLevelCityInfoList
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int cityId { get; set; }
|
||||
/// <summary>
|
||||
/// 重庆
|
||||
/// </summary>
|
||||
public string cityName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string cityEnName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string cityCode { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string cityPinYin { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int corpTag { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string districtCode { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<CountyList> countyList { get; set; }
|
||||
}
|
||||
|
||||
public class DataList
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int provinceId { get; set; }
|
||||
/// <summary>
|
||||
/// 重庆
|
||||
/// </summary>
|
||||
public string provinceName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string provinceEnName { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<PrefectureLevelCityInfoList> prefectureLevelCityInfoList { get; set; }
|
||||
}
|
||||
|
||||
public class XCChinaCity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<DataList> dataList { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* jQuery UI Accordion 1.8.20
|
||||
*
|
||||
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Licensed under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Accordion#theming
|
||||
*/
|
||||
/* IE/Win - Fix animation bug - #4615 */
|
||||
.ui-accordion { width: 100%; }
|
||||
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
||||
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
||||
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
||||
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-content-active { display: block; }
|
||||
Reference in new issue
Block a user