|
@@ -9,6 +9,7 @@ const router = express.Router(); // eslint-disable-line |
|
@@ -9,6 +9,7 @@ const router = express.Router(); // eslint-disable-line |
9
|
const multipartMiddleware = multipart();
|
9
|
const multipartMiddleware = multipart();
|
10
|
|
10
|
|
11
|
router.post('/xianyu/upload/idcard', multipartMiddleware, upload.uploadIdCard);
|
11
|
router.post('/xianyu/upload/idcard', multipartMiddleware, upload.uploadIdCard);
|
|
|
12
|
+router.post('/xianyu/upload/im', multipartMiddleware, upload.uploadIdIm);
|
12
|
|
13
|
|
13
|
router.get('/xianyu/passport/login/taobao', passport.login.taobaoLogin);
|
14
|
router.get('/xianyu/passport/login/taobao', passport.login.taobaoLogin);
|
14
|
router.get('/xianyu/passport/callback/taobao', passport.login.taobaoCallback);
|
15
|
router.get('/xianyu/passport/callback/taobao', passport.login.taobaoCallback);
|