@@ -332,6 +332,7 @@ class UserInfo(BaseModelMixin, LensmanTypeBoolMixin):  | 
            ||
| 332 | 332 | 
                city = models.CharField(_(u'city'), max_length=255, blank=True, null=True, help_text=u'用户城市')  | 
            
| 333 | 333 | 
                location = models.CharField(_(u'location'), max_length=255, blank=True, null=True, help_text=u'用户地址')  | 
            
| 334 | 334 | 
                province_code = models.CharField(_(u'province_code'), max_length=255, blank=True, null=True, help_text=u'用户省份编码')  | 
            
| 335 | 
                + province_name = models.CharField(_(u'province_name'), max_length=255, blank=True, null=True, help_text=u'用户省份信息')  | 
            |
| 335 | 336 | 
                 | 
            
| 336 | 337 | 
                # 用户身份  | 
            
| 337 | 338 | 
                islensman = models.BooleanField(_(u'islensman'), default=False, help_text=_(u'摄影师?'), db_index=True)  | 
            
                @@ -474,7 +475,7 @@ class UserInfo(BaseModelMixin, LensmanTypeBoolMixin):  | 
            ||
| 474 | 475 | 
                'sex': self.sex,  | 
            
| 475 | 476 | 
                'province': self.province,  | 
            
| 476 | 477 | 
                'city': self.city,  | 
            
| 477 | 
                - 'province_code': self.province_code,  | 
            |
| 478 | 
                + 'province_name': self.province_name,  | 
            |
| 478 | 479 | 
                'subscribe': self.subscribe,  | 
            
| 479 | 480 | 
                'membercardid': self.membercardid,  | 
            
| 480 | 481 | 
                'memberusercardcode': self.memberusercardcode,  | 
            
                @@ -71,7 +71,7 @@ class Command(CompatibilityBaseCommand):  | 
            ||
| 71 | 71 | 
                 | 
            
| 72 | 72 | 
                #更新用户表  | 
            
| 73 | 73 | 
                user = UserInfo.objects.get(user_id=user_id, status=True)  | 
            
| 74 | 
                - user.province_code = province_code  | 
            |
| 74 | 
                + user.province_name = ProvinceShortModelMixin.PROVINCE_CODE_NAME_DICT.get(province_code)  | 
            |
| 75 | 75 | 
                user.save()  | 
            
| 76 | 76 | 
                 | 
            
| 77 | 77 | 
                 |