|
1 | 1 | const {random, randomItem, include,} = require('../../api'); |
2 | 2 |
|
3 | 3 | module.exports = (inc, contents) => { |
4 | | - const mobileProviders = ['066', '067', '068', '096', '097', '098', '099']; |
| 4 | + const mobileProviders = ['66', '67', '68', '96', '97', '98', '99']; |
5 | 5 |
|
6 | 6 | const pic = contents.picture; |
7 | 7 | delete contents.picture; |
8 | 8 |
|
9 | | - include(inc, contents, 'phone', '(' + randomItem(mobileProviders) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); |
10 | | - include(inc, contents, 'cell', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); |
| 9 | + include(inc, contents, 'phone', '(0' + randomItem(mobileProviders) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); |
| 10 | + include(inc, contents, 'cell', '(0' + randomItem(mobileProviders) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4)); |
11 | 11 | include(inc, contents, 'id', { |
12 | 12 | name: '', |
13 | 13 | value: null |
|
0 commit comments