feat(vip): set user status to normal when become a vip

This commit is contained in:
OldHawk
2017-12-03 13:39:52 +08:00
parent 5d5115d4c9
commit fee2c8959d

View File

@@ -359,6 +359,7 @@ exports.addVIPMonths = function (req, res) {
user.vip_start_at = start;
user.vip_end_at = end;
user.status = 'normal';
user.save(function (err) {
if (err) {