import org.apache.commons.httpclient.Header; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.methods.PostMethod; public class SendMsg_webchinese { public static void main(String[] args)throws Exception{ HttpClient client = new HttpClient(); PostMethod post = new PostMethod("http://gbk.sms.webchinese.cn"); post.addRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=gbk");//在头文件中设置转码 NameV.... Java 连接SMS短信平台发送短信 开发
widgetCtrl.js中配置图表类型 $scope.chart_types配置项中添加图表类型配置信息 { // 定义图表的类型为:ringBar name: translate('CONFIG.WIDGET.RING_BAR'), value: 'ringBar', class: 'cRingBar', row: translate('CONFIG.WIDGET.TIPS_DIM_NUM_1_MORE'), column: translate('CONFIG.WIDGET.TIPS_DIM_NUM_0_MORE'), measure: translate('CONFIG.WIDGET.TIPS_DIM_NUM_1_MORE') } $scope.chart_types_status中添加配置信息 "ringBar":true $scope.configRule 中添加配置信息如下 ringBar: {keys: 0, groups: -1, filters: -1, values: 2} 这个配置事图表类型激活条件 keys:0表示行维数量为0,groups:-1表示列维不做...... CBoard添加一个自定义的echarts图表 cboard