更新伪静态文章栏目规则,生成伪静态页面分页代码

This commit is contained in:
2020-05-26 15:15:32 +08:00
parent 4d658ca4ab
commit 8461f9230e
20 changed files with 287 additions and 122 deletions
@@ -34,7 +34,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">栏目路径:</label>
<div class="col-sm-8">
<input id="FilePath" name="FilePath" maxlength="100" type="text" class="form-control" required aria-required="true" placeholder="填写栏目路径,SEO优化使用,最多支持4级目录,可以输入字母、数字和-">
<input id="FilePath" name="FilePath" maxlength="100" type="text" class="form-control" aria-required="true" placeholder="填写栏目路径,SEO优化使用,最多支持4级目录,可以输入字母、数字和-">
</div>
</div>
<div class="form-group">
@@ -163,11 +163,12 @@
function aoutoTransform() {
var title = $("#KindName").val();
var filePath = $("#FilePath").val();
var pid = $("#PId").val();
if (!filePath) {
$.ajax({
type: "POST",
url: "/AdminCP/Server/Hanzi2Pinyin",
data: { name: title},
url: "/AdminCP/Server/Hanzi2Pinyin",
data: { name: title, pid: pid,t:"articlecategory" },
dataType: "JSON",
success: function (data) {
if (data.status == "success") {