request_method:POST
body:{"cc_ip":"192.168.72.70","log_save_time":"30","page_size":"10","refresh_interval":"10","email_smtp_svr":"test","email_smtp_port":"25","email_smtp_ssl":"0","email_smtp_auth":"1","email_account":"test@info2soft.com","email_pwd":"40makewYldSa9P2aNRA23iT9ziy9ujQFHWzcPUuC4vQV8ZxAiYV0F2njKVM+0Knr397xMmrYFFdi1BQpsOUqghDzSpatvDQRqYstext9rBgkPwrVxoi0jXZjTpw4zeHU4B3iuH0DeFDRTNwKlBSPhASb39LgQudIYuN2XCdLbow2DgTBjjMAncaqPSFbv2q\/8JnsnfNsi410sxt3Kt\/yp1SFsPJLJ7wsAhVVuIHc1b5c2cedanGV7wPZT2mHaXNMwinQjqtcWvPRqxZHQve5sbBqOCKj2yhgER18R\/cMTv3l4+B\/SUlUCpfCV2M0a28SDzl\/xaF3GrQthBQhwg0Q6w==","email_switch":"1","sms_switch":"1","sms_platform":"ali","sms_app_key":"AppKey","sms_secret_key":"SecretKey","sms_sign_name":"SignName","sms_template_code":"template","sms_server":"","sms_username":"","sms_password":"","sms_domain_name":"","sms_region_name":"","sms_topic_urn":"","notify_contact_biz":{"phone":"11111111111","email":"test@info2sost.com"},"notify_contact_chk":{"phone":"11111111111","email":"test@info2sost.com","policy":{"every":"1","days":"5"}},"notify_contact_status":{"phone":"11111111111","email":"test@info2sost.com","policy":{"every":"3","gap":"4"}},"node_latest_ver":"","node_upgrade_server":"","node_upgrade_path":"","node_online_upgrade":"0","mirr_skip":"0","passwd_expire":"30","passwd_length":"8","passwd_strong":"1","login_attempt":"13","login_lock":"10","notify_limit":"10","client_lang":"zh_cn"}
url:http://192.168.72.70:58080/api/sys/settings
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
  ),
  1 => NULL,
)

Time: 1.05 seconds, Memory: 2.00MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/sys/settings
array (
  0 => 
  array (
    'code' => 0,
    'message' => '[0] success',
    'configs' => 
    array (
      'cc_ip' => '192.168.72.70',
      'log_save_time' => '30',
      'page_size' => '10',
      'refresh_interval' => '10',
      'mirr_skip' => '0',
      'client_lang' => 'zh_cn',
      'node_online_upgrade' => '0',
      'node_latest_ver' => '',
      'node_upgrade_server' => '',
      'node_upgrade_path' => '',
      'passwd_expire' => '30',
      'passwd_length' => '8',
      'passwd_strong' => '1',
      'login_attempt' => '13',
      'login_lock' => '10',
      'email_smtp_svr' => 'test',
      'email_smtp_port' => '25',
      'email_smtp_ssl' => '0',
      'email_smtp_auth' => '1',
      'email_account' => 'test@info2soft.com',
      'email_pwd' => '***',
      'email_switch' => '1',
      'sms_switch' => '1',
      'sms_platform' => 'ali',
      'sms_app_key' => 'AppKey',
      'sms_secret_key' => 'SecretKey',
      'sms_sign_name' => 'SignName',
      'sms_template_code' => 'template',
      'sms_server' => '',
      'sms_username' => '',
      'sms_password' => '',
      'sms_domain_name' => '',
      'sms_region_name' => '',
      'sms_topic_urn' => '',
      'notify_limit' => '10',
      'notify_contact_biz' => 
      array (
        'phone' => '11111111111',
        'email' => 'test@info2sost.com',
      ),
      'notify_contact_chk' => 
      array (
        'phone' => '11111111111',
        'email' => 'test@info2sost.com',
        'policy' => 
        array (
          'every' => '1',
          'days' => '5',
        ),
      ),
      'notify_contact_status' => 
      array (
        'phone' => '11111111111',
        'email' => 'test@info2sost.com',
        'policy' => 
        array (
          'every' => '3',
          'gap' => '4',
        ),
      ),
    ),
  ),
  1 => NULL,
)

Time: 611 ms, Memory: 2.25MB

OK (1 test, 3 assertions)

Process finished with exit code 0




request_method:GET
url:http://192.168.72.70:58080/api/sys/settings/ips
array (
  0 => 
  array (
    'code' => 0,
    'message' => '',
    'ips' => 
    array (
      0 => '192.168.72.70',
    ),
  ),
  1 => NULL,
)

Time: 652 ms, Memory: 2.25MB

OK (1 test, 3 assertions)

Process finished with exit code 0
