Explorar o código

修改赛事状态

zengyicheng %!s(int64=2) %!d(string=hai) anos
pai
achega
e9ae704c28
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -1099,6 +1099,11 @@ router.route('/selectRaceList').all((req, res, next) => {
     var json = queryString(req.url);
     getmysql(req, res, "selectRaceList", json['uid']);
 });
+//修改赛事状态
+router.route('/updateRaceState').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "updateRaceState", json['id']);
+});