Authored by 刘传洋

m

... ... @@ -28,9 +28,9 @@ const personalController = require(`${cRoot}/qrcode`);
// const CouponsController = require(`${cRoot}/coupons`);
const UserController = require(`${cRoot}/user`);
const AccountController = require(`${cRoot}/account`);
const AddressController = require(`${cRoot}/address`);
const GiftController = require(`${cRoot}/gift`);
//const AccountController = require(`${cRoot}/account`);
//const AddressController = require(`${cRoot}/address`);
//const GiftController = require(`${cRoot}/gift`);
const homeNav = [
{
... ... @@ -174,55 +174,55 @@ router.post('/user/edituserhabitsinfo', UserController.editUserHabitsInfo);
router.post('/user/edituserlikebrand', UserController.editUserLikeBrand);
router.post('/user/isbrandname', UserController.isBrandName);
router.get('/address/area', UserController.getProviceList);
router.get('/account', [getCommonHeader, getHomeNav], AccountController.index);
router.get('/account/userpwd', [getCommonHeader, getHomeNav], AccountController.userPwd);
router.get('/account/email', [getCommonHeader, getHomeNav], AccountController.userEmail);
router.get('/account/mobile', [getCommonHeader, getHomeNav], AccountController.userMobile);
router.post('/account/checkverifycode', [getCommonHeader, getHomeNav], AccountController.checkVerifyCode);
router.post('/account/checkpassword', [getCommonHeader, getHomeNav], AccountController.checkPassword);
router.post('/account/verifypassword', [getCommonHeader, getHomeNav], AccountController.verifyPassword);
router.post('/account/modifypwd', [getCommonHeader, getHomeNav], AccountController.modifyPwd);
router.post('/account/sendemail', AccountController.sendEmail);
router.post('/account/checkemail', [getCommonHeader, getHomeNav], AccountController.checkEmail);
router.post('/account/modifyemail', [getCommonHeader, getHomeNav], AccountController.modifyEmail);
router.get('/account/sendemailsuccess', [getCommonHeader, getHomeNav], AccountController.sendEmailSuccess);
router.get('/account/mailresult', [getCommonHeader, getHomeNav], AccountController.mailResult);
router.post('/account/checkmobile', AccountController.checkMobile);
router.post('/account/checkmobilemsg', AccountController.checkMobileMsg);
router.post('/account/sendmobilemsg', AccountController.sendMobileMsg);
router.post('/account/modifymobile', AccountController.modifyMobile);
router.get('/address', [getCommonHeader, getHomeNav], AddressController.index);
router.get('/address/editAddress', AddressController.editAddress);
router.post('/address/saveAddress', AddressController.saveAddress);
router.get('/address/delAddress', AddressController.delAddress);
router.get('/address/defaultAddress', AddressController.defaultAddress);
router.get('/gift', [getCommonHeader, getHomeNav], GiftController.index);
router.post('/gift/exchange', GiftController.exchange);
//
//router.get('/address/area', UserController.getProviceList);
//
//router.get('/account', [getCommonHeader, getHomeNav], AccountController.index);
//
//router.get('/account/userpwd', [getCommonHeader, getHomeNav], AccountController.userPwd);
//
//router.get('/account/email', [getCommonHeader, getHomeNav], AccountController.userEmail);
//
//router.get('/account/mobile', [getCommonHeader, getHomeNav], AccountController.userMobile);
//
//router.post('/account/checkverifycode', [getCommonHeader, getHomeNav], AccountController.checkVerifyCode);
//
//router.post('/account/checkpassword', [getCommonHeader, getHomeNav], AccountController.checkPassword);
//
//router.post('/account/verifypassword', [getCommonHeader, getHomeNav], AccountController.verifyPassword);
//
//router.post('/account/modifypwd', [getCommonHeader, getHomeNav], AccountController.modifyPwd);
//
//router.post('/account/sendemail', AccountController.sendEmail);
//
//router.post('/account/checkemail', [getCommonHeader, getHomeNav], AccountController.checkEmail);
//
//router.post('/account/modifyemail', [getCommonHeader, getHomeNav], AccountController.modifyEmail);
//
//router.get('/account/sendemailsuccess', [getCommonHeader, getHomeNav], AccountController.sendEmailSuccess);
//
//router.get('/account/mailresult', [getCommonHeader, getHomeNav], AccountController.mailResult);
//
//router.post('/account/checkmobile', AccountController.checkMobile);
//
//router.post('/account/checkmobilemsg', AccountController.checkMobileMsg);
//
//router.post('/account/sendmobilemsg', AccountController.sendMobileMsg);
//
//router.post('/account/modifymobile', AccountController.modifyMobile);
//
//router.get('/address', [getCommonHeader, getHomeNav], AddressController.index);
//
//router.get('/address/editAddress', AddressController.editAddress);
//
//router.post('/address/saveAddress', AddressController.saveAddress);
//
//router.get('/address/delAddress', AddressController.delAddress);
//
//router.get('/address/defaultAddress', AddressController.defaultAddress);
//
//router.get('/gift', [getCommonHeader, getHomeNav], GiftController.index);
//
//router.post('/gift/exchange', GiftController.exchange);
module.exports = router;
... ...