仅商户整户额度可换号,并支持后台用户绑定固定收款商户。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
30
peizhi/migrations/0023_user_wechat_mch_bind.py
Normal file
30
peizhi/migrations/0023_user_wechat_mch_bind.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Generated manually: UserWechatMchBind
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('peizhi', '0022_wechat_pay_mch_config'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='UserWechatMchBind',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('yonghuid', models.CharField(db_index=True, max_length=32, unique=True, verbose_name='用户ID')),
|
||||
('mch_id', models.CharField(db_index=True, max_length=32, verbose_name='绑定商户号')),
|
||||
('enabled', models.BooleanField(db_index=True, default=True, verbose_name='是否启用')),
|
||||
('remark', models.CharField(blank=True, default='', max_length=200, verbose_name='备注')),
|
||||
('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
|
||||
('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': '用户转账商户绑定',
|
||||
'verbose_name_plural': '用户转账商户绑定',
|
||||
'db_table': 'user_wechat_mch_bind',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user