|
@@ -82,22 +82,8 @@ router.get("/weChatCode", async (req, res) => {
|
|
|
|
|
|
//yym注册接口
|
|
|
router.post("/login", (req, res) => {
|
|
|
- // return console.log(req.body);
|
|
|
- // let { openid } = req.body;
|
|
|
postmysql3(req, res, "insert_user");
|
|
|
- // let token = jwt.sign({
|
|
|
- // openid,
|
|
|
- // },
|
|
|
- // "secret", {
|
|
|
- // expiresIn: "10s",
|
|
|
- // }
|
|
|
- // );
|
|
|
-
|
|
|
- // res.send({
|
|
|
- // code: 200,
|
|
|
- // msg: "登录成功",
|
|
|
- // token,
|
|
|
- // });
|
|
|
+
|
|
|
});
|
|
|
|
|
|
//yym查询用户(查询是否注册过)
|
|
@@ -372,6 +358,12 @@ router.get("/selectStudentNumber", (req, res) => {
|
|
|
|
|
|
});
|
|
|
|
|
|
+//yym 取消报名
|
|
|
+router.post("/deleteApply", (req, res) => {
|
|
|
+ // console.log("获取", req.body);
|
|
|
+ postmysql3(req, res, "deleteApply");
|
|
|
+});
|
|
|
+
|
|
|
|
|
|
//lqh获取活动acid
|
|
|
router.post("/selectActivityID", (req, res) => {
|