chunk-da115572.c3fd8770.js 9.5 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-da115572"],{1402:function(t,s,a){"use strict";a.r(s);var i=a("d708"),e={name:"wechat",data:function(){return{baseURL:i.a.apiBaseURL.replace(/adminapi/,""),list:[{text:["1.点击左侧菜单 开发→基本配置→服务器配置,点击“修改配置“(如已启动,请先停止)"],alert:[],image:["wechat-3-3-1.png"]},{text:["2.将第 2 步商城后台保存提交的配置信息(再次强调上一步需要提交哦~),在微信公众平台上填写。"],alert:["1.URL填写内容为http://你的域名/api/Wechat/serve,例如http://<a>www.baidu.com</a>/api/Wechat/serve",'2.AppID、AppSecret、Token、消息加密方式、EncodingAESKey,两边的服务器配置必须要<a href="javascript:;">完全一致</a>哦~'],image:["wechat-3-3-2.png"]}]}}},l=(a("ef11"),a("2877")),c=Object(l.a)(e,(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("Tabs",{attrs:{value:"1",animated:!1}},[a("TabPane",{attrs:{label:"1.注册公众号",name:"1"}},[a("Timeline",[a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("1")]),a("div",{staticClass:"title"},[t._v("打开公众平台")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 打开微信公众平台官网:"),a("a",{attrs:{href:"https://mp.weixin.qq.com",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://mp.weixin.qq.com")])]),a("div",[t._v("右上角点击“立即注册”")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-1-1-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("2")]),a("div",{staticClass:"title"},[t._v("选择账号类型:服务号")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("在选择注册账号类型中必须选择“服务号”")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-1-2-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("3")]),a("div",{staticClass:"title"},[t._v("填写邮箱并激活")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("登录您的邮箱,查看激活邮件,然后在此填写邮箱验证码")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-1-3-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("4")]),a("div",{staticClass:"title"},[t._v("信息登记")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 公司请记得选择\n 企业→企业类型,之后的企业信息可根据您自己的企业情况填写\n ")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-1-4-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("5")]),a("div",{staticClass:"title"},[t._v("填写公众号信息")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("填写公众号信息,包括帐号名称、功能介绍、选择运营地区")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-1-5-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("6")]),a("div",{staticClass:"title"},[t._v("验证账号")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("根据所选择的验证方式,完成验证/认证后帐号功能即可使用")])])])])])],1)],1),a("TabPane",{attrs:{label:"2.公众号配置",name:"2"}},[a("Timeline",[a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("1")]),a("div",{staticClass:"title"},[t._v("登录公众平台")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("点击左侧菜单,设置→公众设置")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-1-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("2")]),a("div",{staticClass:"title"},[t._v("功能设置中配置3个域名")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 在功能设置中,配置“业务域名”、“JS接口安全域名”、“网页授权域名”\n ")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-2-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("3")]),a("div",{staticClass:"title"},[t._v("配置域名")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 配置域名,直接填写你所绑定配置的域名即可,填写域名的注意事项。\n ")])]),a("Alert",{attrs:{"show-icon":""}},[a("div",[t._v("注意事项:")]),a("div",[t._v("1. 填写的域名不支持IP地址、端口号及短链域名;")]),a("div",[t._v("2. 域名须通过"),a("span",[t._v("ICP备案")])]),a("div",[t._v("\n 3. 将验证文件上传至"),a("span",[t._v("public")]),t._v("下,并确保可以访问;\n ")]),a("div",[t._v("4. 一个自然月内最多可修改并保存三次。")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-3-1.png",alt:""}})])],1)])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("4")]),a("div",{staticClass:"title"},[t._v("启用开发者密码")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 点击左侧菜单开发→基本配置,点击启用开发者密码(AppSecret),根据提示进行验证\n ")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-4-1.png",alt:""}}),a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-4-2.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("5")]),a("div",{staticClass:"title"},[t._v("保存记录AppID、AppSecret")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("本地最好新建一个 txt 文本文档,用于记录相关配置数据")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-5-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("6")]),a("div",{staticClass:"title"},[t._v("选择是否设置白名单")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("1.关闭白名单,无需做其他配置")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-6-1.png",alt:""}})])]),a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("2.开启白名单,需要同时配置IP白名单")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-2-6-2.png",alt:""}})])])])])],1)],1),a("TabPane",{attrs:{label:"3.开发配置",name:"3"}},[a("Timeline",[a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("1")]),a("div",{staticClass:"title"},[t._v("登录您的神英优选系统后台")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 点击设置→应用设置→公众号→基础配置,填写公众号开发者信息,AppID、AppSecret\n ")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-3-1-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("2")]),a("div",{staticClass:"title"},[t._v("服务器配置(商城后台)")]),a("div",{staticClass:"content"},[a("div",{staticClass:"item"},[a("div",{staticClass:"text"},[a("div",[t._v("\n 随机生成\n EncodingAESKey、微信验证TOKEN,消息加解密方式选择“明文模式”,完成后一定要点击“提交”\n ")])]),a("div",{staticClass:"image"},[a("img",{attrs:{src:t.baseURL+"/statics/system/wechat-3-2-1.png",alt:""}})])])])]),a("TimelineItem",[a("div",{staticClass:"dot",attrs:{slot:"dot"},slot:"dot"},[t._v("3")]),a("div",{staticClass:"title"},[t._v("服务器配置(微信公众平台)")]),a("div",{staticClass:"content"},t._l(t.list,(function(s,i){return a("div",{key:i,staticClass:"item"},[t._l(s.text,(function(s,i){return a("div",{key:i,staticClass:"text"},[a("div",{key:s,domProps:{innerHTML:t._s(s)}})])})),s.alert.length?a("Alert",{attrs:{"show-icon":""}},[a("div",[t._v("注意事项:")]),t._l(s.alert,(function(s,i){return a("div",{key:i},[a("div",{domProps:{innerHTML:t._s(s)}})])}))],2):t._e(),a("div",{staticClass:"image"},t._l(s.image,(function(i,e){return a("img",{key:e,attrs:{src:t.baseURL+"/statics/system/"+s.image,alt:""}})})),0)],2)})),0)])],1)],1)],1)}),[],!1,null,"0554fdb0",null);s.default=c.exports},6615:function(t,s,a){},ef11:function(t,s,a){"use strict";var i=a("6615");a.n(i).a}}]);