sv-print-client
  1. http
sv-print-client
  • sv-print-client
    • socket.io
      • 获取config配置
      • 更新config配置
      • 获取打印机列表
      • 刷新获取打印机列表
      • 获取客户端基础信息
      • 获取客户端ip,mac
      • html打印
      • 模板渲染打印
      • 本地模板tempId打印
      • 网络pdf打印
      • 渲染html然后pdf打印
      • 渲染html然后截图
      • 模板渲染然后pdf打印
      • 模板渲染然后截图
    • http
      • 获取config配置
        GET
      • 更新config配置
        POST
      • 获取模板列表
        GET
      • 获取打印机列表
        GET
      • 获取客户端基础信息
        GET
      • 传html打印
        POST
      • 传模板打印
        POST
      • 传本地模板tempId打印
        POST
      • 网络pdf打印
        POST
      • 渲染html然后pdf打印
        POST
  1. http

传模板打印

开发中
POST
http://127.0.0.1:7071/app/print
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:7071/app/print' \
--header 'Content-Type: application/json' \
--data-raw '{
    // "printer": "PDFwriter",
    "template": {
        "panels": [
            {
                "index": 0,
                "name": 1,
                "height": 297,
                "width": 210,
                "paperHeader": 49.5,
                "paperFooter": 780,
                "printElements": [
                    {
                        "options": {
                            "left": 439.5,
                            "top": 10.5,
                            "height": 33,
                            "width": 150,
                            "title": "支持Vue、Vue3、React、Jquery",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "fontSize": 12,
                            "fontWeight": "bolder",
                            "color": "#570df8",
                            "textAlign": "center",
                            "textContentVerticalAlign": "middle",
                            "qrCodeLevel": 0
                        },
                        "printElementType": {
                            "title": "文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 166.5,
                            "top": 13.5,
                            "height": 27,
                            "width": 259,
                            "title": "sv-print打印设计器组件库",
                            "fontSize": 19,
                            "fontWeight": "600",
                            "textAlign": "center",
                            "lineHeight": 26,
                            "draggable": true,
                            "coordinateSync": true,
                            "widthHeightSync": true
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 27,
                            "height": 13,
                            "width": 52,
                            "title": "页眉线",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 25.5,
                            "top": 57,
                            "height": 705,
                            "width": 9,
                            "fixed": true,
                            "borderStyle": "dotted"
                        },
                        "printElementType": {
                            "type": "vline"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 61.5,
                            "height": 48,
                            "width": 87,
                            "src": "https://ccsimple.github.io/sv-print-docs/logo.svg",
                            "fit": "contain"
                        },
                        "printElementType": {
                            "title": "图片",
                            "type": "image"
                        }
                    },
                    {
                        "options": {
                            "left": 153,
                            "top": 64.5,
                            "height": 39,
                            "width": 276,
                            "title": "二维码以及条形码均采用svg格式打印。不同打印机打印不会造成失真。图片打印:不同DPI打印可能会导致失真,",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center",
                            "lineHeight": 18
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 457.5,
                            "top": 79.5,
                            "height": 13,
                            "width": 120,
                            "title": "姓名",
                            "field": "name",
                            "testData": "古力娜扎",
                            "color": "#f00808",
                            "textDecoration": "underline",
                            "textAlign": "center",
                            "fields": [
                                {
                                    "text": "id",
                                    "field": "id"
                                },
                                {
                                    "text": "姓名",
                                    "field": "name"
                                },
                                {
                                    "text": "性别",
                                    "field": "gender"
                                },
                                {
                                    "text": "数量",
                                    "field": "count"
                                }
                            ]
                        },
                        "printElementType": {
                            "title": "文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 505.5,
                            "top": 111,
                            "height": 55.5,
                            "width": 58.5,
                            "title": "123456789",
                            "textType": "qrcode",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "color": "#000000",
                            "qrCodeLevel": 0
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 31.5,
                            "top": 114,
                            "height": 12,
                            "width": 80,
                            "title": "F文本-突破浏览器最小字体限制",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "fFontSize": 6,
                            "color": "#ffffff",
                            "backgroundColor": "#ff0000"
                        },
                        "printElementType": {
                            "title": "F文本",
                            "type": "fText"
                        }
                    },
                    {
                        "options": {
                            "left": 285,
                            "top": 130.5,
                            "height": 34,
                            "width": 175,
                            "title": "123456789",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center",
                            "textType": "barcode"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 132,
                            "height": 19,
                            "width": 213,
                            "title": "所有打印元素都可已拖拽的方式来改变元素大小",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center",
                            "lineHeight": 18
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 31.5,
                            "top": 156,
                            "height": 100,
                            "width": 100,
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "fabricDraw": "function(title,value,options,templateData,canvas,fabric){\n  var pxSize = hinnn.pt.toPx(100);\n  canvas.add(\n    new fabric.Textbox(\"Fabric.js 自定义渲染\", {\n      fontSize: 14,\n      width: pxSize,\n      height: pxSize,\n      fill: \"red\",\n      splitByGrapheme: true,\n    })\n  );\n  canvas.add(\n    new fabric.Triangle({\n      left: 0,\n      top: 20,\n      width: 50,\n      height: 50,\n      fill: \"green\",\n    })\n  );\n  canvas.add(\n    new fabric.Rect({ top: 80, left: 4, width: 40, height: 40, fill: \"#f55\" })\n  );\n  canvas.add(\n    new fabric.Circle({\n      radius: 40,\n      left: 50,\n      top: 50,\n      fill: \"rgb(155, 89, 182)\",\n      opacity: 0.5,\n    })\n  );\n  return canvas.toSVG();\n}"
                        },
                        "printElementType": {
                            "title": "Fabric",
                            "type": "fabric"
                        }
                    },
                    {
                        "options": {
                            "left": 153,
                            "top": 189,
                            "height": 13,
                            "width": 238,
                            "title": "单击元素,右侧可自定义元素属性",
                            "textAlign": "center",
                            "fontFamily": "微软雅黑"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 190.5,
                            "height": 13,
                            "width": 51,
                            "title": "横线",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 415.5,
                            "top": 190.5,
                            "height": 13,
                            "width": 164,
                            "title": "可以配置各属性的默认值",
                            "textAlign": "center",
                            "fontFamily": "微软雅黑"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 214.5,
                            "height": 10,
                            "width": 475.5,
                            "borderWidth": 0.75
                        },
                        "printElementType": {
                            "title": "横线",
                            "type": "hline"
                        }
                    },
                    {
                        "options": {
                            "left": 235.5,
                            "top": 220.5,
                            "height": 32,
                            "width": 342,
                            "title": "自定义表格:用户<span style='\''color:red;font-weight:800'\''>可左键选中表头</span>,右键查看可操作项,操作类似Excel,<span style='\''color:red;font-weight:800'\''>双击表头单元格可进行编辑</span>。内容:title#field <span style='\''color:red;font-weight:800'\''>(标题#字段名)</span>",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center",
                            "lineHeight": 15
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 255,
                            "height": 55.5,
                            "width": 205.5,
                            "textAlign": "center",
                            "title": "(01)09521234543213(3103)000123",
                            "barcodeType": "databarexpanded",
                            "qrCodeLevel": 0,
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "color": "#0008e8"
                        },
                        "printElementType": {
                            "title": "条形码",
                            "type": "barcode"
                        }
                    },
                    {
                        "options": {
                            "left": 385.5,
                            "top": 256.5,
                            "height": 75,
                            "width": 67.5,
                            "textAlign": "center",
                            "title": "DM码",
                            "qrcodeType": "datamatrix",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "qrCodeLevel": 0,
                            "color": "#bd0707"
                        },
                        "printElementType": {
                            "title": "DM码",
                            "type": "qrcode"
                        }
                    },
                    {
                        "options": {
                            "left": 268.5,
                            "top": 261,
                            "height": 34.5,
                            "width": 97.5,
                            "title": "扩展式 <span style='\''color:red'\''>GS1</span> <br> DataBar",
                            "fontSize": 16,
                            "fontWeight": "500",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "color": "#0008e8",
                            "lineHeight": 18,
                            "qrCodeLevel": 0
                        },
                        "printElementType": {
                            "title": "文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 319.5,
                            "height": 13,
                            "width": 90,
                            "title": "红色区域可拖动",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 156,
                            "top": 319.5,
                            "height": 13,
                            "width": 94,
                            "title": "表头列大小可拖动",
                            "fontFamily": "微软雅黑",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 339,
                            "height": 56,
                            "width": 511.5,
                            "field": "table",
                            "tableFooterRepeat": "",
                            "fields": [
                                {
                                    "text": "id",
                                    "field": "id"
                                },
                                {
                                    "text": "姓名",
                                    "field": "name"
                                },
                                {
                                    "text": "性别",
                                    "field": "gender"
                                },
                                {
                                    "text": "数量",
                                    "field": "count"
                                }
                            ],
                            "columns": [
                                [
                                    {
                                        "width": 102.30000000000001,
                                        "checked": true,
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1
                                    },
                                    {
                                        "width": 102.30000000000001,
                                        "title": "姓名",
                                        "field": "name",
                                        "checked": true,
                                        "columnId": "name",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "tableSummary": "count"
                                    },
                                    {
                                        "width": 102.30000000000001,
                                        "title": "数量",
                                        "field": "count",
                                        "checked": true,
                                        "columnId": "count",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "tableSummary": "sum"
                                    },
                                    {
                                        "width": 102.30000000000001,
                                        "checked": true,
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1
                                    },
                                    {
                                        "width": 102.30000000000001,
                                        "checked": true,
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1
                                    },
                                    {
                                        "width": 85.25,
                                        "title": "性别",
                                        "field": "gender",
                                        "checked": false,
                                        "columnId": "gender",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1
                                    }
                                ]
                            ]
                        },
                        "printElementType": {
                            "title": "表格",
                            "type": "table",
                            "editable": true,
                            "columnDisplayEditable": true,
                            "columnDisplayIndexEditable": true,
                            "columnTitleEditable": true,
                            "columnResizable": true,
                            "columnAlignEditable": true,
                            "isEnableEditField": true,
                            "isEnableContextMenu": true,
                            "isEnableInsertRow": true,
                            "isEnableDeleteRow": true,
                            "isEnableInsertColumn": true,
                            "isEnableDeleteColumn": true,
                            "isEnableMergeCell": true
                        }
                    },
                    {
                        "options": {
                            "left": 21,
                            "top": 346.5,
                            "height": 61.5,
                            "width": 15,
                            "title": "装订线",
                            "lineHeight": 18,
                            "fixed": true,
                            "contentPaddingTop": 3.75,
                            "backgroundColor": "#ffffff"
                        },
                        "printElementType": {
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 225,
                            "top": 409,
                            "height": 13,
                            "width": 346.5,
                            "title": "自定义模块:主要为开发人员设计,能够快速,简单,实现自己功能",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 424.5,
                            "height": 18,
                            "width": 79,
                            "title": "配置项表格",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 225,
                            "top": 439.5,
                            "height": 38,
                            "width": 346.5,
                            "title": "配置模块:主要为客户使用,开发人员可以配置属性,字段,标题等,客户直接使用,配置模块请参考实例2",
                            "fontFamily": "微软雅黑",
                            "lineHeight": 15,
                            "textAlign": "center",
                            "color": "#d93838"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 487.5,
                            "height": 13,
                            "width": 123,
                            "title": "长文本会自动分页",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 507,
                            "height": 40,
                            "width": 511.5,
                            "field": "longText"
                        },
                        "printElementType": {
                            "title": "长文",
                            "type": "longText"
                        }
                    },
                    {
                        "options": {
                            "left": 475.5,
                            "top": 565.5,
                            "height": 100,
                            "width": 100
                        },
                        "printElementType": {
                            "title": "矩形",
                            "type": "rect"
                        }
                    },
                    {
                        "options": {
                            "left": 174,
                            "top": 568.5,
                            "height": 13,
                            "width": 90,
                            "title": "竖线",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 60,
                            "top": 574.5,
                            "height": 100,
                            "width": 10
                        },
                        "printElementType": {
                            "title": "竖线",
                            "type": "vline"
                        }
                    },
                    {
                        "options": {
                            "left": 210,
                            "top": 604.5,
                            "height": 13,
                            "width": 120,
                            "title": "横线",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 130.5,
                            "top": 625.5,
                            "height": 10,
                            "width": 277,
                            "borderWidth": 0.75
                        },
                        "printElementType": {
                            "title": "横线",
                            "type": "hline"
                        }
                    },
                    {
                        "options": {
                            "left": 364.5,
                            "top": 649.5,
                            "height": 13,
                            "width": 101,
                            "title": "矩形",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 525,
                            "top": 784.5,
                            "height": 13,
                            "width": 63,
                            "title": "页尾线",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 12,
                            "top": 786,
                            "height": 49,
                            "width": 49
                        },
                        "printElementType": {
                            "title": "html",
                            "type": "html"
                        }
                    },
                    {
                        "options": {
                            "left": 75,
                            "top": 790.5,
                            "height": 13,
                            "width": 137,
                            "title": "红色原型是自动定义的Html",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 334.5,
                            "top": 810,
                            "height": 13,
                            "width": 205,
                            "title": "页眉线已上。页尾下以下每页都会重复打印",
                            "textAlign": "center"
                        },
                        "printElementType": {
                            "title": "自定义文本",
                            "type": "text"
                        }
                    }
                ],
                "paperNumberLeft": 565.5,
                "paperNumberTop": 819,
                "paperNumberContinue": true,
                "backgroundColor": "#f1ebff",
                "overPrintOptions": {},
                "watermarkOptions": {
                    "content": "sv-print",
                    "fillStyle": "rgba(87, 13, 248, 0.5)",
                    "fontSize": "36px",
                    "rotate": 25,
                    "width": 413,
                    "height": 310,
                    "timestamp": true,
                    "format": "YYYY-MM-DD HH:mm"
                },
                "panelLayoutOptions": {}
            }
        ]
    },
    "printData": {
        "name": "黄磊",
        "test": {
            "name": "测试名称"
        },
        "logoTest": "https://portrait.gitee.com/uploads/avatars/user/1800/5400665_CcSimple_1591166830.png!avatar60",
        "password": "12346",
        "longText": "浙江在线3月29日讯最近,\n一篇小学五年级学生写的作文引起了钱报记者的关注这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文《脏话风波》浙江在线3月29日讯最近,一篇小学五年级学生写的作文引起了钱报记者的关注。这篇作文的题目叫做《脏话风波》,讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文讲述的是小作者班级里发生的一种不文明现象——讲脏话的同学越来越多,有的人说话甚至句句“带把儿”。班主任为了遏制这种现象,煞费苦心想了很多办法,跟学生斗智斗勇……看到这篇作文,记者突然想到,自己读六年级的儿子有天突然冒出一句脏话。此前,他是从不说脏话的。问他怎么学会的,他也说不出个所以然来。于是,记者做了这个小学生脏话现象调查。经过了解才发现,小学生爱说脏话竟然较为普遍,一般三年级会冒出苗头。无论是学习成绩好的,还是平时不太起眼的,都会说脏话。而且,说脏话会“传染”,一旦冒头不制止,到了五六年级甚至可能在班里大爆发。以下为作文",
        "table": [
            {
                "id": "1",
                "name": "王小可",
                "gender": "男",
                "count": "120",
                "amount": "9089元"
            },
            {
                "id": "2",
                "name": "梦之遥",
                "gender": "女",
                "count": "20",
                "amount": "89元"
            },
            {
                "id": "3",
                "name": "梦之遥",
                "gender": "女",
                "count": "720",
                "amount": "29089元"
            },
            {
                "id": "4",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "5",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "6",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "7",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "8",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "9",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "10",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "11",
                "name": "王小可",
                "gender": "男",
                "count": "120",
                "amount": "9089元"
            },
            {
                "id": "12",
                "name": "梦之遥",
                "gender": "女",
                "count": "20",
                "amount": "89元"
            },
            {
                "id": "13",
                "name": "梦之遥",
                "gender": "女",
                "count": "720",
                "amount": "29089元"
            },
            {
                "id": "14",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "15",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "16",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "17",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "18",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "19",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "20",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "21",
                "name": "王小可",
                "gender": "男",
                "count": "120",
                "amount": "9089元"
            },
            {
                "id": "22",
                "name": "梦之遥",
                "gender": "女",
                "count": "20",
                "amount": "89元"
            },
            {
                "id": "23",
                "name": "梦之遥",
                "gender": "女",
                "count": "720",
                "amount": "29089元"
            },
            {
                "id": "24",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "25",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "26",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "27",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "28",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "29",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "21",
                "name": "王小可",
                "gender": "男",
                "count": "120",
                "amount": "9089元"
            },
            {
                "id": "22",
                "name": "梦之遥",
                "gender": "女",
                "count": "20",
                "amount": "89元"
            },
            {
                "id": "23",
                "name": "梦之遥",
                "gender": "女",
                "count": "720",
                "amount": "29089元"
            },
            {
                "id": "24",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "25",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "26",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "27",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "28",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "29",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "21",
                "name": "王小可",
                "gender": "男",
                "count": "120",
                "amount": "9089元"
            },
            {
                "id": "22",
                "name": "梦之遥",
                "gender": "女",
                "count": "20",
                "amount": "89元"
            },
            {
                "id": "23",
                "name": "梦之遥",
                "gender": "女",
                "count": "720",
                "amount": "29089元"
            },
            {
                "id": "29",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            },
            {
                "id": "30",
                "name": "黄小菊",
                "gender": "女",
                "count": "420",
                "amount": "19089元"
            }
        ]
    }
}'
响应示例响应示例
{}

请求参数

Body 参数application/json

示例

返回响应

🟢200成功
application/json
Body

修改于 2025-08-11 05:27:12
上一页
传html打印
下一页
传本地模板tempId打印
Built with