多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 群发消息 ~~~[api] post:/allsendmsg/info *int:id=默认值1#id <<< success { "code": 0, "info": "成功", "data":{ "id": 1, "num": 0, "user_id": 0, "re_ids": "关键字1", "create_date": 0, "shop_ids": "news1", "tag_ids": "wechat1", "type": "image", "title": "1test", "pic_url": "", "media_id": "asdf", "msg_id": "", "msg_data_id": "" } } <<< error ~~~  ## 群发消息列表 ~~~[api] post:/allsendmsg/getlist *int:page=1#页码 *int:limit=10#每页显示个数 <<< success { "code": 0, "info": "成功", "data":[ { "id": 4, "num": 2, "user_id": 1000, "re_ids": "1,2", "create_date": 1540875164, "shop_ids": "4,5,6", "tag_ids": "7,8,9", "type": "news", "title": "test", "pic_url": "", "media_id": "adsf123456", "msg_id": "", "msg_data_id": "" }, { "id": 3, "num": 0, "user_id": 0, "re_ids": "1,2,3", "create_date": 1540862038, "shop_ids": "4,5,6", "tag_ids": "7,8,9", "type": "news", "title": "test", "pic_url": "", "media_id": "adsf123456", "msg_id": "", "msg_data_id": "" } ] } <<< error  ~~~  ## 添加 ~~~[api] post:/allsendmsg/add *string:shop_ids=1,2,3#店铺id串,全部时传0 *string:tag_ids=1,2,3#标签id串,全部时传0 *string:level_ids=1,2,3#会员等级id串,全部时传0 *int:type=text#类型,news 图文消息,image图片消息,text文字消息 string:title=消息内容#消息内容 type为news和text时必传 string:pic_url=图片链接# type为news和image时传 string:media_id=微信公众号素材id# type为news和image时必传 <<< success { "code": 0, "info": "成功", "data":{ "re_ids": "1,2,3", "shop_ids": "4,5,6", "tag_ids": "7,8,9", "type": "news", "media_id": "adsf123456", "title": "test", "create_date": 1540874883 } } <<< error  ~~~ ##获取发送人数和店铺名和标签名 ~~~[api] post:/allsendmsg/getnum *string:shop_ids=1,2,3#店铺id串,全部时传0 *string:tag_ids=1,2,3#标签id串,全部时传0 *string:level_ids=1,2,3#会员等级id串,全部时传0 <<< success { "code": 0, "info": "成功", "data":{ "shopList":[ { "shop_name": "_SHOP_NAME" } ], "tagList":[ { "name": "test" } ] } } <<< error  ~~~