后端显示门店账单
This commit is contained in:
@@ -143,7 +143,7 @@ async function main() {
|
||||
partnerId: partner.id,
|
||||
categoryId: categories[0].id,
|
||||
name: '郑州老城店',
|
||||
phone: '0371-88880001',
|
||||
phone: '13910000001',
|
||||
province: '河南省',
|
||||
cityName: '郑州市',
|
||||
district: '金水区',
|
||||
@@ -165,7 +165,7 @@ async function main() {
|
||||
partnerId: partner.id,
|
||||
categoryId: categories[1].id,
|
||||
name: '郑州美食城店',
|
||||
phone: '0371-88880002',
|
||||
phone: '13910000002',
|
||||
province: '河南省',
|
||||
cityName: '郑州市',
|
||||
district: '二七区',
|
||||
@@ -179,11 +179,7 @@ async function main() {
|
||||
});
|
||||
|
||||
await prisma.storeAccount.create({
|
||||
data: { storeId: store1.id, phone: '13900000001', name: '老城店店长' },
|
||||
});
|
||||
|
||||
await prisma.storeAccount.create({
|
||||
data: { storeId: store2.id, phone: '13900000002', name: '美食城店长' },
|
||||
data: { storeId: store1.id, phone: '13910000001', name: '郑州老城店' },
|
||||
});
|
||||
|
||||
await prisma.user.create({
|
||||
@@ -233,7 +229,7 @@ async function main() {
|
||||
stores: 2,
|
||||
testPhones: {
|
||||
user: '13800000001',
|
||||
store: '13900000001',
|
||||
store: '13910000001',
|
||||
partner: '13700000001',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user