'平台表', 'struct' => array ( 'name' => array ( 'name' => '平台名称', 'type' => 'varchar(32)', ), 'host' => array ( 'name' => '主机域名', 'type' => 'varchar(500)', ), 'method' => array ( 'name' => '请求方法', 'type' => 'tinyint(1)', 'default' => '2', 'value' => array ( 1 => 'get', 2 => 'post', ), ), 'post_method' => array ( 'name' => '请求方式', 'type' => 'tinyint(1)', 'default' => '1', 'value' => array ( 1 => '普通表单:application/x-www-form-urlencoded', 2 => '文件表单:multipart/form-data', 3 => 'JSON:application/json', ), ), 'response_type' => array ( 'name' => '响应数据类型', 'type' => 'tinyint(1)', 'default' => '2', 'value' => array ( //1 => '无标准响应', 2 => 'JSON', 3 => 'XML', ), ), ), );