1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084 |
- define({ "api": [
- {
- "type": "get",
- "url": "common",
- "title": "公共参数说明",
- "version": "1.0.0",
- "name": "common",
- "group": "Common",
- "description": "<p>介绍公共参数</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "json",
- "description": "<p>是否返回json格式的数据1为返回2为不返回</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "signature",
- "description": "<p>用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "pg",
- "description": "<p>用于分页传参,比如请求第二页数据,则加上该参数pg=2,没有分页和瀑布流不需要该参数</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "status",
- "description": "<p>状态,1为有效2为无效</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "msg",
- "description": "<p>请求的数据是否成功的提示</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "data",
- "description": "<p>如果status为1,data有值</p>"
- },
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "page",
- "description": "<p>分页信息</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.total",
- "description": "<p>分页总数</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.current_page",
- "description": "<p>当前页</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.total_page",
- "description": "<p>总页数</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.next_page",
- "description": "<p>下一页</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.prev_page",
- "description": "<p>上一页</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "page.status",
- "description": "<p>是否有下一页数据,0为没有</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Common"
- },
- {
- "type": "get",
- "url": "passport/?l=applet.bind",
- "title": "用户登录",
- "version": "1.0.0",
- "name": "applet_bind",
- "group": "Passport",
- "description": "<p>用户登录</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "code",
- "description": "<p>微信登录返回的code</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "vid",
- "description": "<p>微信id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Passport"
- },
- {
- "type": "get",
- "url": "passport/?l=applet.bind_mobile",
- "title": "绑定手机号-验证码绑定",
- "version": "1.0.0",
- "name": "applet_bind_mobile",
- "group": "Passport",
- "description": "<p>绑定手机号-验证码绑定</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "mobile",
- "description": "<p>手机号</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "mcode",
- "description": "<p>验证码</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Passport"
- },
- {
- "type": "get",
- "url": "passport/?l=applet.mobile",
- "title": "更新用户手机号-微信绑定",
- "version": "1.0.0",
- "name": "applet_mobile",
- "group": "Passport",
- "description": "<p>更新用户手机号-微信绑定</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "iv",
- "description": "<p>微信的加密参数</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "encryptedData",
- "description": "<p>微信的加密参数</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "vid",
- "description": "<p>微信id</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "vid",
- "description": "<p>微信id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Passport"
- },
- {
- "type": "get",
- "url": "passport/?l=applet.update",
- "title": "更新用户信息",
- "version": "1.0.0",
- "name": "applet_update",
- "group": "Passport",
- "description": "<p>更新用户信息</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "nickname",
- "description": "<p>用户昵称</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "avatarurl",
- "description": "<p>用户头像</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "iv",
- "description": "<p>微信的加密参数</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "encryptedData",
- "description": "<p>微信的加密参数</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "vid",
- "description": "<p>微信id</p>"
- },
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "vid",
- "description": "<p>微信id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id,请保存在本地</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>用于登录后的uid验证,每次都要传入,请登录后将这个值保存在本地</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Passport"
- },
- {
- "type": "get",
- "url": "passport/?l=reg.getMCode",
- "title": "获取手机验证码",
- "version": "1.0.0",
- "name": "reg_getMCode",
- "group": "Passport",
- "description": "<p>获取手机验证码</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "Number",
- "optional": false,
- "field": "mobile",
- "description": "<p>手机号</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "msg",
- "description": "<p>验证码已发送至您的手机,请注意查收,十分钟之内有效</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Passport"
- },
- {
- "type": "get",
- "url": "product/?l=api.addCarts",
- "title": "添加产品到购物车",
- "version": "1.0.0",
- "name": "api_addCarts",
- "group": "Product",
- "description": "<p>添加产品到购物车</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "product_id",
- "description": "<p>产品id</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "num",
- "description": "<p>数量</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "data",
- "description": "<p>返回ok</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.carts",
- "title": "获取购物车列表",
- "version": "1.0.0",
- "name": "api_buy",
- "group": "Product",
- "description": "<p>获取购物车列表</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "carts",
- "description": "<p>购物车信息</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "carts.product",
- "description": "<p>产品信息</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "carts.num",
- "description": "<p>数量</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.buy",
- "title": "发起微信支付",
- "version": "1.0.0",
- "name": "api_buy",
- "group": "Product",
- "description": "<p>发起微信支付</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "product_id",
- "description": "<p>产品id</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "pay",
- "description": "<p>微信支付返回的数据</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pay.time",
- "description": "<p>服务器时间戳</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pay.nonce_str",
- "description": "<p>随机字符串</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pay.prepay_id",
- "description": "<p>统一下单接口返回的 prepay_id 参数值,通过'prepay_id=' + prepay_id 拼装成package</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pay.sign_type",
- "description": "<p>签名算法</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pay.sign",
- "description": "<p>签名</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.code",
- "title": "提交兑换码",
- "version": "1.0.0",
- "name": "api_code",
- "group": "Product",
- "description": "<p>提交兑换码</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "product_id",
- "description": "<p>产品id</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "code",
- "description": "<p>兑换码</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.home",
- "title": "获取首页数据",
- "version": "1.0.0",
- "name": "api_home",
- "group": "Product",
- "description": "<p>获取首页数据</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "uid",
- "description": "<p>用户id 所有Service接口中都有该项</p>"
- },
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "config",
- "description": "<p>基本配置 所有Service接口中都有该项</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "config.name",
- "description": "<p>小程序名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "config.logo",
- "description": "<p>小程序logo</p>"
- },
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "focus",
- "description": "<p>焦点图 暂时无用</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "focus.name",
- "description": "<p>名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "focus.pic",
- "description": "<p>图片</p>"
- },
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "product",
- "description": "<p>产品列表</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.id",
- "description": "<p>产品id</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.name",
- "description": "<p>名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.pic",
- "description": "<p>产品封面</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.focus",
- "description": "<p>产品轮播图 多个用逗号隔开</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.content",
- "description": "<p>内容</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.price",
- "description": "<p>显示价格</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "product.pay_price",
- "description": "<p>支付价格</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.order",
- "title": "我的订单",
- "version": "1.0.0",
- "name": "api_order",
- "group": "Product",
- "description": "<p>我的订单</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "order",
- "description": "<p>订单信息</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "order.name",
- "description": "<p>名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "order.order_id",
- "description": "<p>订单编号</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "order.del_status",
- "description": "<p>产品在线状态1为在线2为已下线</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.poster",
- "title": "生成海报",
- "version": "1.0.0",
- "name": "api_poster",
- "group": "Product",
- "description": "<p>生成海报</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "product_id",
- "description": "<p>产品id</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "path",
- "description": "<p>生成的二维码跳转的path,请不要带上参数,该path会自动加上scene=uid,product_id,请直接在onLoad 的方法中解析该参数:const scene = decodeURIComponent(options.scene);scene = scene.split(',');var uid = scene[0];var product_id = scene[1];如果有该参数,请直接跳转到产品详情页。</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "pic",
- "description": "<p>直接返回海报图片</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.view",
- "title": "获取产品详情",
- "version": "1.0.0",
- "name": "api_view",
- "group": "Product",
- "description": "<p>获取产品详情</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "id",
- "description": "<p>产品id</p>"
- }
- ]
- }
- },
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "focus",
- "description": "<p>焦点图</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "focus.name",
- "description": "<p>名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "focus.pic",
- "description": "<p>图片</p>"
- },
- {
- "group": "Success 200",
- "type": "Object[]",
- "optional": false,
- "field": "product",
- "description": "<p>产品信息</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.id",
- "description": "<p>产品id</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.name",
- "description": "<p>名称</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.pic",
- "description": "<p>产品封面</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.focus",
- "description": "<p>产品轮播图 多个用逗号隔开</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.content",
- "description": "<p>内容</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "product.price",
- "description": "<p>显示价格</p>"
- },
- {
- "group": "Success 200",
- "type": "Number",
- "optional": false,
- "field": "product.pay_price",
- "description": "<p>支付价格</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "type": "get",
- "url": "product/?l=api.writeFormId",
- "title": "记录formid,用于发送通知 请再按钮的地方加上该接口请求",
- "version": "1.0.0",
- "name": "api_writeFormId",
- "group": "Product",
- "description": "<p>记录formid,用于发送通知</p>",
- "parameter": {
- "fields": {
- "Parameter": [
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "signature",
- "description": "<p>signature</p>"
- },
- {
- "group": "Parameter",
- "type": "String",
- "optional": false,
- "field": "product_id",
- "description": "<p>产品id</p>"
- }
- ]
- }
- },
- "filename": "/root/input/doc/apidoc.php",
- "groupTitle": "Product"
- },
- {
- "success": {
- "fields": {
- "Success 200": [
- {
- "group": "Success 200",
- "optional": false,
- "field": "varname1",
- "description": "<p>No type.</p>"
- },
- {
- "group": "Success 200",
- "type": "String",
- "optional": false,
- "field": "varname2",
- "description": "<p>With type.</p>"
- }
- ]
- }
- },
- "type": "",
- "url": "",
- "version": "0.0.0",
- "filename": "/root/input/doc/main.js",
- "group": "_root_input_doc_main_js",
- "groupTitle": "_root_input_doc_main_js",
- "name": ""
- }
- ] });
|