diff --git a/config.json b/config.json index e7ca3ac..5cfe4ea 100644 --- a/config.json +++ b/config.json @@ -1 +1 @@ -{"games":["\u5b64\u5c9b\u5947\u5175","\u90e8\u843d\u6218\u9b42","\u90e8\u843d\u7e41\u4f53\u7248","\u90e8\u843d\u97e9\u6587\u7248","\u90e8\u843d\u8d8a\u5357\u7248","\u90e8\u843d\u82f1\u6587\u7248","\u90e8\u843d\u6cf0\u6587\u7248","\u90e8\u843dH5\u7248","\u66d9\u5149\u4e4b\u5883","\u9b54\u6cd5\u95e8H5","\u6b63\u7248\u9b54\u6cd5\u95e8\u539f\u751f","3D\u963f\u51e1\u8fbe","\u5927\u6218\u56fd","\u5927\u4e09\u56fd","\u5927\u4e09\u56fd\u97e9\u6587","\u5766\u514b\u7a81\u88ad","\u5251\u5723\u6302\u673a","\u7cbe\u7075\u7eaa\u5143","\u9b54\u6cd5\u65e0\u654c","\u4e50\u8c37\u519b\u5e08","X\u7cbe\u7075","\u5730\u4ea7\u5927\u4ea8","\u4e50\u8c37MT","\u8d85\u7ea7\u6536\u85cf\u5bb6","\u4e71\u4e16\u957f\u6b4c","\u6b4c\u624b2019","\u6b4c\u624bCOCOS","\u8bd9\u8c10\u4e09\u56fd","\u751f\u5316\u7eaa\u5143","\u6218\u56fd\u4e89\u9e23","\u6697\u9ed1\u5730\u4e0b\u57ce\u7e41\u4f53","\u5996\u7075\u6218\u59ec","\u5c71\u6d77\u7ecf","3D\u751f\u5316","\u98ce\u66b4\u5947\u5175","\u4e2d\u53e4\u6218\u9524","\u50cf\u7d20\u9879\u76ee","\u5176\u4ed6"],"roles":["\u5434\u660a","\u8212\u5c55","\u9093\u5b9a\u658c","dddd","ddd"],"chanpin":["\u5434\u660a"],"yunying":["\u5434\u660a"],"yanfa":["\u5434\u660a"],"gxvroles":["aaaaa","555"],"gxyyeroles":["bbb"],"gxcperoles":["cccc"],"gxyferoles":["ddddd"],"xfvroles":["eeeee"],"xfyyeroles":["ffff"]} \ No newline at end of file +{"games":["\u5b64\u5c9b\u5947\u5175","\u90e8\u843d\u6218\u9b42","\u90e8\u843d\u7e41\u4f53\u7248","\u90e8\u843d\u97e9\u6587\u7248","\u90e8\u843d\u8d8a\u5357\u7248","\u90e8\u843d\u82f1\u6587\u7248","\u90e8\u843d\u6cf0\u6587\u7248","\u90e8\u843dH5\u7248","\u66d9\u5149\u4e4b\u5883","\u9b54\u6cd5\u95e8H5","\u6b63\u7248\u9b54\u6cd5\u95e8\u539f\u751f","3D\u963f\u51e1\u8fbe","\u5927\u6218\u56fd","\u5927\u4e09\u56fd","\u5927\u4e09\u56fd\u97e9\u6587","\u5766\u514b\u7a81\u88ad","\u5251\u5723\u6302\u673a","\u7cbe\u7075\u7eaa\u5143","\u9b54\u6cd5\u65e0\u654c","\u4e50\u8c37\u519b\u5e08","X\u7cbe\u7075","\u5730\u4ea7\u5927\u4ea8","\u4e50\u8c37MT","\u8d85\u7ea7\u6536\u85cf\u5bb6","\u4e71\u4e16\u957f\u6b4c","\u6b4c\u624b2019","\u6b4c\u624bCOCOS","\u8bd9\u8c10\u4e09\u56fd","\u751f\u5316\u7eaa\u5143","\u6218\u56fd\u4e89\u9e23","\u6697\u9ed1\u5730\u4e0b\u57ce\u7e41\u4f53","\u5996\u7075\u6218\u59ec","\u5c71\u6d77\u7ecf","3D\u751f\u5316","\u98ce\u66b4\u5947\u5175","\u4e2d\u53e4\u6218\u9524","\u50cf\u7d20\u9879\u76ee","\u5176\u4ed6"],"roles":["\u5434\u660a","\u8212\u5c55","\u9093\u5b9a\u658c","dddd","ddd"],"gxvroles":["aaaaa","555"],"gxyyeroles":["\u5434\u660a"],"gxcperoles":["\u5434\u660a"],"gxyferoles":["\u5434\u660a"],"xfvroles":["\u5434\u660a"],"xfyyeroles":["\u5434\u660a"]} \ No newline at end of file diff --git a/pmcalendar.php b/pmcalendar.php index 2aa72be..7cf230d 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -1,8 +1,8 @@ - + @@ -657,7 +657,7 @@ if ($act == 'newevent') {
提交
- + @@ -782,10 +782,12 @@ if ($act == 'newevent') { var arr = [] arr['msg'] = cptext, arr['date'] = year+'/'+month+'/'+day+' '+ branch + ':'+ second - + $.ajax({ url: './?app=pmcalendar&act=editchanpin', dataType: 'json', + type:"post", + async:"true", data: { id: notid, content: arr @@ -812,12 +814,15 @@ if ($act == 'newevent') { var arr = [] arr['msg'] = yytext, arr['date'] = year+'/'+month+'/'+day+' '+ branch + ':'+ second + $.ajax({ url: './?app=pmcalendar&act=edityunying', dataType: 'json', + type:"post", + async:"true", data: { id: notid, - content: arr + content: JSON.stringify(arr) }, success: function (res) { console.log(res); @@ -844,6 +849,8 @@ if ($act == 'newevent') { $.ajax({ url: './?app=pmcalendar&act=edityanfa', dataType: 'json', + type:"post", + async:"true", data: { id: notid, content: arr @@ -1102,7 +1109,7 @@ if ($act == 'newevent') { $('#uploader_yy').attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=yunyig&act=add') $("#uploader_yf").attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=yanfa&act=add') - //console.log($('#uploader').attr('action')) + //console.log($('#uploader').attr('action')) dict = {}; $.post('./?app=pmcalendar&act=getEventByid', {id: calEvent.id}, function (txt) { @@ -1128,7 +1135,7 @@ if ($act == 'newevent') { $('#uploader_yy').attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=yunyig&act=add') $("#uploader_yf").attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=yanfa&act=add') - //console.log($('#uploader').attr('action')) + //console.log($('#uploader').attr('action')) dict = {}; $.post('./?app=pmcalendar&act=getEventByid', {id: calEvent.id}, function (txt) { @@ -1150,8 +1157,8 @@ if ($act == 'newevent') { return } } - - + + $('#uploader').attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=chanpin&act=add'); $('#uploader_yy').attr('action','./?app=uploader&id='+ calEvent.id +'&bumen=yunyig&act=add')