| @@ -0,0 +1,20 @@ | ||
| 1 | +# -*- coding: utf-8 -*- | |
| 2 | +# Generated by Django 1.11.3 on 2017-08-14 12:01 | |
| 3 | +from __future__ import unicode_literals | |
| 4 | + | |
| 5 | +from django.db import migrations, models | |
| 6 | + | |
| 7 | + | |
| 8 | +class Migration(migrations.Migration): | |
| 9 | + | |
| 10 | + dependencies = [ | |
| 11 | +        ('message', '0008_auto_20170315_2243'), | |
| 12 | + ] | |
| 13 | + | |
| 14 | + operations = [ | |
| 15 | + migrations.AlterField( | |
| 16 | + model_name='systemmessageinfo', | |
| 17 | + name='src', | |
| 18 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 19 | + ), | |
| 20 | + ] | 
| @@ -0,0 +1,45 @@ | ||
| 1 | +# -*- coding: utf-8 -*- | |
| 2 | +# Generated by Django 1.11.3 on 2017-08-14 12:01 | |
| 3 | +from __future__ import unicode_literals | |
| 4 | + | |
| 5 | +from django.db import migrations, models | |
| 6 | + | |
| 7 | + | |
| 8 | +class Migration(migrations.Migration): | |
| 9 | + | |
| 10 | + dependencies = [ | |
| 11 | +        ('operation', '0013_auto_20170418_1451'), | |
| 12 | + ] | |
| 13 | + | |
| 14 | + operations = [ | |
| 15 | + migrations.AlterField( | |
| 16 | + model_name='appsettingsinfo', | |
| 17 | + name='src', | |
| 18 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 19 | + ), | |
| 20 | + migrations.AlterField( | |
| 21 | + model_name='feedbackinfo', | |
| 22 | + name='src', | |
| 23 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 24 | + ), | |
| 25 | + migrations.AlterField( | |
| 26 | + model_name='guestentrancecontrolinfo', | |
| 27 | + name='src', | |
| 28 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 29 | + ), | |
| 30 | + migrations.AlterField( | |
| 31 | + model_name='latestappinfo', | |
| 32 | + name='src', | |
| 33 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 34 | + ), | |
| 35 | + migrations.AlterField( | |
| 36 | + model_name='patchinfo', | |
| 37 | + name='src', | |
| 38 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 39 | + ), | |
| 40 | + migrations.AlterField( | |
| 41 | + model_name='splashinfo', | |
| 42 | + name='src', | |
| 43 | + field=models.IntegerField(choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef2'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')], db_index=True, default=0, help_text='\u6765\u6e90', verbose_name='src'), | |
| 44 | + ), | |
| 45 | + ] | 
| @@ -61,11 +61,13 @@ class VersionMixin(models.Model): | ||
| 61 | 61 | class PaiaiSrcMixin(models.Model): | 
| 62 | 62 | PAIAI_USER = 0 | 
| 63 | 63 | PAIAI_LENSMAN = 1 | 
| 64 | + PAIAI_LENSMAN2 = 1 | |
| 64 | 65 | PAIAI_TOURGUIDE = 2 | 
| 65 | 66 |  | 
| 66 | 67 | SRC = ( | 
| 67 | 68 | (PAIAI_USER, u'拍爱用户端'), | 
| 68 | 69 | (PAIAI_LENSMAN, u'拍爱摄影师端'), | 
| 70 | + (PAIAI_LENSMAN2, u'拍爱摄影师端2'), | |
| 69 | 71 | (PAIAI_TOURGUIDE, u'拍爱导游端'), | 
| 70 | 72 | ) | 
| 71 | 73 |  |