forked from wuruiwm/msautocreate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php.example
More file actions
54 lines (48 loc) · 1.32 KB
/
config.php.example
File metadata and controls
54 lines (48 loc) · 1.32 KB
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
52
53
54
<?php
return [
//全局账号相关配置
'client_id'=>'',
'tenant_id'=>'',
'client_secret'=>'',
'domain'=>[
'onmicrosoft1.com',
'onmicrosoft2.com',
],
'sku_id'=>[
[
'title'=>'A3(桌面版office + onedrive 5t)',
'sku_id'=>'',
],
[
'title'=>'A1学生版(onedrive 5t)',
'sku_id'=>'',
],
[
'title'=>'A1教师版(onedrive 5t)',
'sku_id'=>'',
],
],
//网站标题等文字
'page_config'=>[
'title'=>'微软全局子号自助开通',
'line1'=>'(5TB Onedrive + 桌面版office)',
],
/* 如果不需要邀请码功能,以上配置足以 */
//是否开启邀请码才可申请账号
'is_invitation_code'=>true,//true为开启 false为关闭
//激活码购买地址
'invitation_code_buy_link'=>'',
//后台相关配置
'admin'=>[
'username'=>'admin',
'password'=>'e10adc3949ba59abbe56e057f20f883e',//自行输入密码 https://md5jiami.51240.com/ 将32位 小写结果填入
'invitation_code_num'=>'8',//随机生成的邀请码位数
],
//数据库配置
'db'=>[
'host'=>'127.0.0.1',
'username'=>'root',
'password'=>'',
'database'=>'ms',
],
];