lsc пре 3 дана
родитељ
комит
e058b22198
1 измењених фајлова са 10 додато и 0 уклоњено
  1. 10 0
      pbl.js

+ 10 - 0
pbl.js

@@ -6439,6 +6439,16 @@ router.route("/insertRecord").all(function(req, res, next) {
     postmysql(req, res, "insertRecord");
 });
 
+//修改openid
+router.route('/UpdateOpenId').all((req, res, next) => {
+    postmysql(req, res, "UpdateOpenId");
+});
+
+//查询是否有openid
+router.route('/checkOpenId').all((req, res, next) => {
+    postmysql(req, res, "checkOpenId");
+});
+
 // 获取学生记录
 router.route("/selectRecord").all(function(req, res, next) {
     // let users = req.query;