-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.php
More file actions
51 lines (47 loc) · 853 Bytes
/
test.php
File metadata and controls
51 lines (47 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
use Auto\Auto;
use Auto\Data;
require __DIR__ . '/vendor/autoload.php';
$eol = PHP_EOL;
/**
* 脚本自测
* @param string $str
* @param string $fun
* @Author: LiDi at 2019/10/25 14:17
* @Email : lidi.bj@acewill.cn
*/
function _($str,$fun)
{
echo <<<cd
[{$fun}]:
{$str}
cd;
}
/**
* @var $data Data
*/
$data = Auto::data();
//========================================
/**
* [191022] name
* eg: Augusta Gislason
*/
_($data::name(),$data::$fun);
/**
* [191022] bankAccountNumber
* eg: 188118427081
*/
_($data::bankAccountNumber(),$data::$fun);
//========================================
/**
* [191025] address
* eg: 86944 Bobby Tunnel
* West Zella, MI 21698-4660
*/
_($data::address(),$data::$fun);
/**
* [191025] email
* eg: maegan03@gmail.com
*/
_($data::email(),$data::$fun);
//========================================