├── MySql.Data.dll ├── Weback ├── WeChat.sln ├── WeChat.suo ├── WeChat.userprefs ├── WeChat │ ├── Base │ │ ├── Account.aspx │ │ ├── Account.aspx.cs │ │ ├── Account.aspx.designer.cs │ │ ├── Fans.aspx │ │ ├── Fans.aspx.cs │ │ ├── Fans.aspx.designer.cs │ │ ├── MyButton.aspx │ │ ├── MyButton.aspx.cs │ │ ├── MyButton.aspx.designer.cs │ │ ├── RulesAuto.aspx │ │ ├── RulesAuto.aspx.cs │ │ ├── RulesAuto.aspx.designer.cs │ │ ├── RulesForm.aspx │ │ ├── RulesForm.aspx.cs │ │ ├── RulesForm.aspx.designer.cs │ │ ├── RulesMethod.aspx │ │ ├── RulesMethod.aspx.cs │ │ ├── RulesMethod.aspx.designer.cs │ │ ├── Setting.aspx │ │ ├── Setting.aspx.cs │ │ ├── Setting.aspx.designer.cs │ │ ├── fulecodedemo.jpg │ │ └── fulecontentdemo.jpg │ ├── Default.aspx │ ├── Default.aspx.cs │ ├── Default.aspx.designer.cs │ ├── Login.aspx │ ├── Login.aspx.cs │ ├── Login.aspx.designer.cs │ ├── Main.aspx │ ├── Main.aspx.cs │ ├── Main.aspx.designer.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── LoginPage.cs │ ├── WeChat.csproj │ ├── WeChat.csproj.user │ ├── WeChat.suo │ ├── WeChatApi.aspx │ ├── WeChatApi.aspx.cs │ ├── WeChatApi.aspx.designer.cs │ ├── Web.config │ ├── article.aspx │ ├── article.aspx.cs │ ├── article.aspx.designer.cs │ ├── license.html │ ├── res │ │ ├── artDialog │ │ │ ├── jquery.artDialog.js │ │ │ ├── jquery.artDialog.source.js │ │ │ ├── license.txt │ │ │ ├── plugins │ │ │ │ ├── iframeTools.js │ │ │ │ └── iframeTools.source.js │ │ │ └── skins │ │ │ │ ├── default.css │ │ │ │ ├── icons │ │ │ │ ├── error.png │ │ │ │ ├── face-sad.png │ │ │ │ ├── face-smile.png │ │ │ │ ├── loading.gif │ │ │ │ ├── question.png │ │ │ │ ├── succeed.png │ │ │ │ └── warning.png │ │ │ │ ├── idialog.css │ │ │ │ ├── idialog │ │ │ │ ├── idialog_s.png │ │ │ │ ├── idialog_s2.png │ │ │ │ └── ie6 │ │ │ │ │ ├── aui_close.hover.png │ │ │ │ │ ├── aui_close.png │ │ │ │ │ ├── aui_e.png │ │ │ │ │ ├── aui_n.png │ │ │ │ │ ├── aui_ne.png │ │ │ │ │ ├── aui_nw.png │ │ │ │ │ ├── aui_s.png │ │ │ │ │ ├── aui_se.png │ │ │ │ │ ├── aui_sw.png │ │ │ │ │ └── aui_w.png │ │ │ │ ├── simple.css │ │ │ │ └── twitter.css │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.js │ │ ├── css │ │ │ └── page-style.css │ │ ├── font-awesome │ │ │ ├── css │ │ │ │ ├── Descr.WD3 │ │ │ │ └── font-awesome.css │ │ │ └── font │ │ │ │ ├── Descr.WD3 │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.eot@ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ └── fontawesome-webfont.woff │ │ ├── img │ │ │ ├── blockquote-down.png │ │ │ ├── blockquote-up.png │ │ │ ├── breadcrumb.png │ │ │ ├── glyphicons-halflings-gray.png │ │ │ ├── glyphicons-halflings-white.png │ │ │ ├── gritter.png │ │ │ ├── hue.png │ │ │ ├── icon-edit.png │ │ │ ├── larrow.png │ │ │ ├── line.png │ │ │ ├── logo-big.png │ │ │ ├── logo.png │ │ │ ├── menu-active.png │ │ │ ├── rarrow.png │ │ │ ├── saturation.png │ │ │ ├── select2.png │ │ │ ├── spinner.gif │ │ │ └── sprite.png │ │ ├── jquery.jmp3.js │ │ ├── jquery.min.js │ │ ├── miniui │ │ │ ├── jquery-1.6.2.min.js │ │ │ ├── locale │ │ │ │ ├── en_US.js │ │ │ │ └── zh_CN.js │ │ │ ├── miniui.js │ │ │ ├── swfupload │ │ │ │ ├── swfupload.js │ │ │ │ ├── swfupload.swf │ │ │ │ └── swfuploadbutton.swf │ │ │ ├── themes │ │ │ │ ├── default │ │ │ │ │ ├── images │ │ │ │ │ │ ├── _pager │ │ │ │ │ │ │ ├── first.gif │ │ │ │ │ │ │ ├── last.gif │ │ │ │ │ │ │ ├── next.gif │ │ │ │ │ │ │ └── prev.gif │ │ │ │ │ │ ├── button │ │ │ │ │ │ │ ├── button.png │ │ │ │ │ │ │ ├── disabled.png │ │ │ │ │ │ │ ├── hover.png │ │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ │ ├── menu_arrow.png │ │ │ │ │ │ │ ├── pressed.png │ │ │ │ │ │ │ ├── split-allow-bottom.gif │ │ │ │ │ │ │ └── split_arrow.png │ │ │ │ │ │ ├── buttonedit │ │ │ │ │ │ │ ├── _icon3.gif │ │ │ │ │ │ │ ├── button.png │ │ │ │ │ │ │ ├── date.gif │ │ │ │ │ │ │ ├── down.gif │ │ │ │ │ │ │ ├── error.gif │ │ │ │ │ │ │ ├── hover.png │ │ │ │ │ │ │ ├── icon1.gif │ │ │ │ │ │ │ ├── icon2.gif │ │ │ │ │ │ │ ├── pressed.png │ │ │ │ │ │ │ └── up.gif │ │ │ │ │ │ ├── calendar │ │ │ │ │ │ │ ├── button.png │ │ │ │ │ │ │ ├── header.png │ │ │ │ │ │ │ ├── months.gif │ │ │ │ │ │ │ ├── next.gif │ │ │ │ │ │ │ └── prev.gif │ │ │ │ │ │ ├── datepicker │ │ │ │ │ │ │ ├── date - 副本.gif │ │ │ │ │ │ │ └── date.gif │ │ │ │ │ │ ├── dragdrop │ │ │ │ │ │ │ ├── drop-add.gif │ │ │ │ │ │ │ ├── drop-between.gif │ │ │ │ │ │ │ ├── drop-no.gif │ │ │ │ │ │ │ ├── drop-over.gif │ │ │ │ │ │ │ ├── drop-under.gif │ │ │ │ │ │ │ └── drop-yes.gif │ │ │ │ │ │ ├── gantt │ │ │ │ │ │ │ ├── arrow_blue_down.gif │ │ │ │ │ │ │ ├── arrow_blue_left.gif │ │ │ │ │ │ │ ├── arrow_blue_right.gif │ │ │ │ │ │ │ ├── arrow_blue_up.gif │ │ │ │ │ │ │ ├── arrow_red_down.gif │ │ │ │ │ │ │ ├── arrow_red_left.gif │ │ │ │ │ │ │ ├── arrow_red_right.gif │ │ │ │ │ │ │ ├── arrow_red_up.gif │ │ │ │ │ │ │ ├── baseline-milestone.gif │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── constraint-finish.gif │ │ │ │ │ │ │ ├── constraint-start.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── finished.gif │ │ │ │ │ │ │ ├── gvdp.gif │ │ │ │ │ │ │ ├── header.gif │ │ │ │ │ │ │ ├── header_bg.gif │ │ │ │ │ │ │ ├── milestone-red.gif │ │ │ │ │ │ │ ├── milestone.gif │ │ │ │ │ │ │ ├── ms-task.gif │ │ │ │ │ │ │ ├── notes.gif │ │ │ │ │ │ │ ├── offday.gif │ │ │ │ │ │ │ ├── summary-top.gif │ │ │ │ │ │ │ ├── summary.gif │ │ │ │ │ │ │ ├── summary2.gif │ │ │ │ │ │ │ ├── taskbg.gif │ │ │ │ │ │ │ ├── taskbg2.gif │ │ │ │ │ │ │ ├── taskstatus.gif │ │ │ │ │ │ │ ├── title_bg.png │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ ├── grid │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── dirty.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── footer.png │ │ │ │ │ │ │ ├── header.png │ │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ │ ├── loading.gif │ │ │ │ │ │ │ ├── resize.gif │ │ │ │ │ │ │ ├── sort_asc.gif │ │ │ │ │ │ │ └── sort_desc.gif │ │ │ │ │ │ ├── layout │ │ │ │ │ │ │ ├── east.gif │ │ │ │ │ │ │ ├── header.png │ │ │ │ │ │ │ ├── north.gif │ │ │ │ │ │ │ ├── south.gif │ │ │ │ │ │ │ └── west.gif │ │ │ │ │ │ ├── listbox │ │ │ │ │ │ │ ├── error.gif │ │ │ │ │ │ │ └── header.png │ │ │ │ │ │ ├── menu │ │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ │ ├── checked.gif │ │ │ │ │ │ │ ├── hallow.gif │ │ │ │ │ │ │ ├── hmenubg.png │ │ │ │ │ │ │ ├── item.png │ │ │ │ │ │ │ ├── menubg.gif │ │ │ │ │ │ │ └── pressed.png │ │ │ │ │ │ ├── messagebox │ │ │ │ │ │ │ ├── icon-error.gif │ │ │ │ │ │ │ ├── icon-info.gif │ │ │ │ │ │ │ ├── icon-question.gif │ │ │ │ │ │ │ ├── icon-warning.gif │ │ │ │ │ │ │ └── loading.gif │ │ │ │ │ │ ├── mygantt │ │ │ │ │ │ │ └── header.png │ │ │ │ │ │ ├── navbar │ │ │ │ │ │ │ └── header.png │ │ │ │ │ │ ├── pager │ │ │ │ │ │ │ ├── first.gif │ │ │ │ │ │ │ ├── last.gif │ │ │ │ │ │ │ ├── next.gif │ │ │ │ │ │ │ └── prev.gif │ │ │ │ │ │ ├── panel │ │ │ │ │ │ │ ├── header.png │ │ │ │ │ │ │ └── resize.gif │ │ │ │ │ │ ├── rgantt │ │ │ │ │ │ │ ├── bg.gif │ │ │ │ │ │ │ ├── cancel.gif │ │ │ │ │ │ │ ├── hdbg.gif │ │ │ │ │ │ │ ├── pc.gif │ │ │ │ │ │ │ └── pc_03.gif │ │ │ │ │ │ ├── splitter │ │ │ │ │ │ │ ├── buttons.gif │ │ │ │ │ │ │ ├── mini-bottom.gif │ │ │ │ │ │ │ ├── mini-left.gif │ │ │ │ │ │ │ ├── mini-right.gif │ │ │ │ │ │ │ ├── mini-top.gif │ │ │ │ │ │ │ ├── resize.gif │ │ │ │ │ │ │ └── resize_h.gif │ │ │ │ │ │ ├── supergrid │ │ │ │ │ │ │ ├── btn.gif │ │ │ │ │ │ │ ├── col-move-bottom.gif │ │ │ │ │ │ │ ├── col-move-top.gif │ │ │ │ │ │ │ ├── datagrid_header_bg.gif │ │ │ │ │ │ │ ├── datagrid_row_collapse.gif │ │ │ │ │ │ │ ├── datagrid_row_expand.gif │ │ │ │ │ │ │ ├── datagrid_sort_asc.gif │ │ │ │ │ │ │ ├── datagrid_sort_desc.gif │ │ │ │ │ │ │ ├── datagrid_title_bg.png │ │ │ │ │ │ │ ├── dirty.gif │ │ │ │ │ │ │ ├── header-hover.gif │ │ │ │ │ │ │ ├── header-pressed.gif │ │ │ │ │ │ │ ├── header.gif │ │ │ │ │ │ │ ├── invalid_line.gif │ │ │ │ │ │ │ ├── loading.gif │ │ │ │ │ │ │ ├── no.gif │ │ │ │ │ │ │ ├── ok.gif │ │ │ │ │ │ │ ├── row_collapse.gif │ │ │ │ │ │ │ ├── row_expand.gif │ │ │ │ │ │ │ ├── rowselected.gif │ │ │ │ │ │ │ ├── sort_asc.gif │ │ │ │ │ │ │ ├── sort_desc.gif │ │ │ │ │ │ │ ├── title_bg.png │ │ │ │ │ │ │ └── ——header.gif │ │ │ │ │ │ ├── supertree │ │ │ │ │ │ │ ├── arrows.gif │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── file.gif │ │ │ │ │ │ │ ├── folder-open.gif │ │ │ │ │ │ │ ├── folder.gif │ │ │ │ │ │ │ └── loading.gif │ │ │ │ │ │ ├── tabs │ │ │ │ │ │ │ ├── allow_left.gif │ │ │ │ │ │ │ ├── allow_right.gif │ │ │ │ │ │ │ ├── close.gif │ │ │ │ │ │ │ ├── hover.png │ │ │ │ │ │ │ └── tab.png │ │ │ │ │ │ ├── textbox │ │ │ │ │ │ │ └── error.gif │ │ │ │ │ │ ├── textboxlist │ │ │ │ │ │ │ ├── close.gif │ │ │ │ │ │ │ ├── error.gif │ │ │ │ │ │ │ └── loading.gif │ │ │ │ │ │ ├── toolbar │ │ │ │ │ │ │ └── toolbar.png │ │ │ │ │ │ ├── tools │ │ │ │ │ │ │ ├── close.gif │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── max.gif │ │ │ │ │ │ │ ├── min.gif │ │ │ │ │ │ │ ├── refresh.gif │ │ │ │ │ │ │ ├── restore.gif │ │ │ │ │ │ │ └── search.gif │ │ │ │ │ │ ├── tree │ │ │ │ │ │ │ ├── arrows.gif │ │ │ │ │ │ │ ├── button.png │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── collapseLine.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── expandLine.gif │ │ │ │ │ │ │ ├── file.png │ │ │ │ │ │ │ ├── firstAndlastcollapse.gif │ │ │ │ │ │ │ ├── firstAndlastexpand.gif │ │ │ │ │ │ │ ├── firstCollapseNode.gif │ │ │ │ │ │ │ ├── firstExpandNode.gif │ │ │ │ │ │ │ ├── folder-open.gif │ │ │ │ │ │ │ ├── folder.gif │ │ │ │ │ │ │ ├── hover.png │ │ │ │ │ │ │ ├── lastCollapseNode.gif │ │ │ │ │ │ │ ├── lastExpandNode.gif │ │ │ │ │ │ │ ├── lastline.gif │ │ │ │ │ │ │ ├── leaf.gif │ │ │ │ │ │ │ ├── loading.gif │ │ │ │ │ │ │ ├── treeNodeLine.gif │ │ │ │ │ │ │ └── treeline.gif │ │ │ │ │ │ ├── treegrid │ │ │ │ │ │ │ ├── collapse.gif │ │ │ │ │ │ │ ├── expand.gif │ │ │ │ │ │ │ ├── file.png │ │ │ │ │ │ │ ├── folder.gif │ │ │ │ │ │ │ └── loading.gif │ │ │ │ │ │ └── window │ │ │ │ │ │ │ ├── footer.png │ │ │ │ │ │ │ └── header.png │ │ │ │ │ └── miniui.css │ │ │ │ ├── icons.css │ │ │ │ └── icons │ │ │ │ │ ├── _help.png │ │ │ │ │ ├── add.gif │ │ │ │ │ ├── addfolder.gif │ │ │ │ │ ├── addnew.gif │ │ │ │ │ ├── cancel.gif │ │ │ │ │ ├── cloud.png │ │ │ │ │ ├── cut.png │ │ │ │ │ ├── date.gif │ │ │ │ │ ├── downgrade.gif │ │ │ │ │ ├── download.gif │ │ │ │ │ ├── edit.gif │ │ │ │ │ ├── filter.gif │ │ │ │ │ ├── find.png │ │ │ │ │ ├── folder-open.gif │ │ │ │ │ ├── folder.gif │ │ │ │ │ ├── goto.gif │ │ │ │ │ ├── help.gif │ │ │ │ │ ├── help.png │ │ │ │ │ ├── lock.png │ │ │ │ │ ├── new.gif │ │ │ │ │ ├── no.png │ │ │ │ │ ├── node.png │ │ │ │ │ ├── noimage.gif │ │ │ │ │ ├── nowait.gif │ │ │ │ │ ├── ok.png │ │ │ │ │ ├── open.gif │ │ │ │ │ ├── print.gif │ │ │ │ │ ├── redo.gif │ │ │ │ │ ├── reload.png │ │ │ │ │ ├── remove.gif │ │ │ │ │ ├── save.gif │ │ │ │ │ ├── search.gif │ │ │ │ │ ├── sort.gif │ │ │ │ │ ├── split.gif │ │ │ │ │ ├── tip.png │ │ │ │ │ ├── undo.gif │ │ │ │ │ ├── unlock.gif │ │ │ │ │ ├── upgrade.gif │ │ │ │ │ ├── upload.gif │ │ │ │ │ ├── user.png │ │ │ │ │ ├── wait.gif │ │ │ │ │ ├── warning.png │ │ │ │ │ ├── zoomin.gif │ │ │ │ │ └── zoomout.gif │ │ │ └── util.js │ │ ├── select2.min.js │ │ ├── singlemp3player.swf │ │ ├── ueditor │ │ │ ├── dialogs │ │ │ │ ├── image │ │ │ │ │ ├── image.css │ │ │ │ │ ├── image.html │ │ │ │ │ ├── image.js │ │ │ │ │ ├── imageUploader.swf │ │ │ │ │ └── images │ │ │ │ │ │ ├── center_focus.jpg │ │ │ │ │ │ ├── left_focus.jpg │ │ │ │ │ │ ├── none_focus.jpg │ │ │ │ │ │ └── right_focus.jpg │ │ │ │ ├── internal.js │ │ │ │ ├── link │ │ │ │ │ └── link.html │ │ │ │ └── tangram.js │ │ │ ├── editor_all.js │ │ │ ├── editor_all_min.js │ │ │ ├── editor_config.js │ │ │ ├── index.html │ │ │ ├── lang │ │ │ │ └── zh-cn │ │ │ │ │ ├── images │ │ │ │ │ ├── copy.png │ │ │ │ │ ├── imglabel.png │ │ │ │ │ ├── localimage.png │ │ │ │ │ ├── music.png │ │ │ │ │ └── upload.png │ │ │ │ │ └── zh-cn.js │ │ │ ├── net │ │ │ │ ├── Uploader.cs │ │ │ │ ├── Web.config │ │ │ │ ├── fileUp.ashx │ │ │ │ ├── getContent.ashx │ │ │ │ ├── getMovie.ashx │ │ │ │ ├── getRemoteImage.ashx │ │ │ │ ├── imageManager.ashx │ │ │ │ ├── imageUp.ashx │ │ │ │ └── scrawlUp.ashx │ │ │ ├── themes │ │ │ │ ├── default │ │ │ │ │ ├── css │ │ │ │ │ │ └── ueditor.css │ │ │ │ │ ├── dialogbase.css │ │ │ │ │ └── images │ │ │ │ │ │ ├── anchor.gif │ │ │ │ │ │ ├── arrow.png │ │ │ │ │ │ ├── button-bg.gif │ │ │ │ │ │ ├── cancelbutton.gif │ │ │ │ │ │ ├── cursor_h.gif │ │ │ │ │ │ ├── cursor_h.png │ │ │ │ │ │ ├── cursor_v.gif │ │ │ │ │ │ ├── cursor_v.png │ │ │ │ │ │ ├── dialog-title-bg.png │ │ │ │ │ │ ├── filescan.png │ │ │ │ │ │ ├── highlighted.gif │ │ │ │ │ │ ├── icons-all.gif │ │ │ │ │ │ ├── icons.gif │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── lock.gif │ │ │ │ │ │ ├── neweditor-tab-bg.png │ │ │ │ │ │ ├── pagebreak.gif │ │ │ │ │ │ ├── scale.png │ │ │ │ │ │ ├── spacer.gif │ │ │ │ │ │ ├── sparator_v.png │ │ │ │ │ │ ├── toolbar_bg.png │ │ │ │ │ │ ├── unhighlighted.gif │ │ │ │ │ │ ├── upload.png │ │ │ │ │ │ ├── videologo.gif │ │ │ │ │ │ ├── word.gif │ │ │ │ │ │ └── wordpaste.png │ │ │ │ └── iframe.css │ │ │ ├── third-party │ │ │ │ └── codemirror │ │ │ │ │ ├── codemirror.css │ │ │ │ │ └── codemirror.js │ │ │ └── uparse.js │ │ ├── wlniao-media.css │ │ ├── wlniao-style.css │ │ └── wlniao.js │ ├── upload.ashx │ ├── upload.ashx.cs │ └── 使用说明.txt ├── Wlniao.WeChat.Extend │ ├── Base.cs │ ├── Demo.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Wlniao.WeChat.Extend.csproj │ ├── Wlniao.WeChat.Extend.csproj.user │ ├── bin │ │ └── Debug │ │ │ ├── Wlniao.WeChat.Extend.dll │ │ │ ├── Wlniao.WeChat.Extend.pdb │ │ │ ├── Wlniao.WeChat.dll │ │ │ ├── Wlniao.WeChat.pdb │ │ │ └── XCore.dll │ └── obj │ │ ├── Debug │ │ └── DesignTimeResolveAssemblyReferencesInput.cache │ │ └── Release │ │ └── DesignTimeResolveAssemblyReferencesInput.cache └── Wlniao.WeChat │ ├── ActionBase.cs │ ├── Api.cs │ ├── BLL │ ├── Fans.cs │ ├── Rules.cs │ └── Sys.cs │ ├── MP.cs │ ├── Method │ ├── Demo.cs │ └── Wlniao.cs │ ├── Model │ ├── Fans.cs │ ├── Menus.cs │ └── Rules.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── WeChatApi.cs │ ├── Wlniao.WeChat.csproj │ ├── Wlniao.WeChat.csproj.user │ ├── bin │ └── Debug │ │ ├── Wlniao.WeChat.dll │ │ ├── Wlniao.WeChat.pdb │ │ └── XCore.dll │ └── obj │ └── Release │ └── DesignTimeResolveAssemblyReferencesInput.cache ├── Weback使用说明.txt └── XCore.dll /MySql.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/MySql.Data.dll -------------------------------------------------------------------------------- /Weback/WeChat.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wlniao.WeChat", "Wlniao.WeChat\Wlniao.WeChat.csproj", "{ED9DE299-972D-402E-989E-4FDDC871D6CA}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeChat", "WeChat\WeChat.csproj", "{01696A99-F2B2-4CBA-8241-9737B98D0932}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wlniao.WeChat.Extend", "Wlniao.WeChat.Extend\Wlniao.WeChat.Extend.csproj", "{3DB71454-A650-44CE-9405-091DD2A9EAB6}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {01696A99-F2B2-4CBA-8241-9737B98D0932}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {01696A99-F2B2-4CBA-8241-9737B98D0932}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {01696A99-F2B2-4CBA-8241-9737B98D0932}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {01696A99-F2B2-4CBA-8241-9737B98D0932}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {3DB71454-A650-44CE-9405-091DD2A9EAB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {3DB71454-A650-44CE-9405-091DD2A9EAB6}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {3DB71454-A650-44CE-9405-091DD2A9EAB6}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {3DB71454-A650-44CE-9405-091DD2A9EAB6}.Release|Any CPU.Build.0 = Release|Any CPU 24 | {ED9DE299-972D-402E-989E-4FDDC871D6CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 25 | {ED9DE299-972D-402E-989E-4FDDC871D6CA}.Debug|Any CPU.Build.0 = Debug|Any CPU 26 | {ED9DE299-972D-402E-989E-4FDDC871D6CA}.Release|Any CPU.ActiveCfg = Release|Any CPU 27 | {ED9DE299-972D-402E-989E-4FDDC871D6CA}.Release|Any CPU.Build.0 = Release|Any CPU 28 | EndGlobalSection 29 | GlobalSection(MonoDevelopProperties) = preSolution 30 | StartupItem = WeChat\WeChat.csproj 31 | EndGlobalSection 32 | GlobalSection(SolutionProperties) = preSolution 33 | HideSolutionNode = FALSE 34 | EndGlobalSection 35 | EndGlobal 36 | -------------------------------------------------------------------------------- /Weback/WeChat.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat.suo -------------------------------------------------------------------------------- /Weback/WeChat.userprefs: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/Account.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat.Base 9 | { 10 | public partial class Account : LoginPage 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | if (!IsPostBack) 15 | { 16 | switch (helper.GetParam("action").ToLower()) 17 | { 18 | case "get": 19 | helper.Add("Username", Session["Account"].ToString()); 20 | helper.Response(); 21 | break; 22 | case "set": 23 | string _username = Session["Account"].ToString(); 24 | string username = helper.GetParam("Username"); 25 | string password = helper.GetParam("Password"); 26 | if (string.IsNullOrEmpty(_username)) 27 | { 28 | helper.Result.Add("您尚未登录或登录已超时,请先登录!"); 29 | } 30 | else if (string.IsNullOrEmpty(username)) 31 | { 32 | helper.Result.Add("Sorry,用户名未填写!"); 33 | } 34 | else if (string.IsNullOrEmpty(password)) 35 | { 36 | helper.Result.Add("Sorry,登录密码未填写!"); 37 | } 38 | else 39 | { 40 | if (password.Length != 32) 41 | { 42 | password = Encryptor.Md5Encryptor32(Encryptor.Md5Encryptor32(password)); 43 | } 44 | System.Xml.XmlNode xn = System.IO.XMLHelper.GetDataOne(PathHelper.Map("~/xcenter/data/wechat/manager.xml"), "Manager", System.IO.XMLHelper.CreateEqualParameter("Username", _username)); 45 | if (xn == null) 46 | { 47 | helper.Result.Add("Sorry,管理员账号不存在"); 48 | } 49 | else 50 | { 51 | helper.Result = System.IO.XMLHelper.UpdateData(PathHelper.Map("~/xcenter/data/wechat/manager.xml"), "Manager", System.IO.XMLHelper.CreateEqualParameter("Username", _username), System.IO.XMLHelper.CreateUpdateParameter("Username", username), System.IO.XMLHelper.CreateUpdateParameter("Password", password)); 52 | if (helper.Result.IsValid) 53 | { 54 | Session["Account"] = username; 55 | } 56 | } 57 | } 58 | helper.ResponseResult(); 59 | break; 60 | } 61 | } 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /Weback/WeChat/Base/Account.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class Account { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/Fans.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class Fans { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/MyButton.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class MyButton { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/RulesAuto.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat.Base 9 | { 10 | public partial class RulesAuto : LoginPage 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | if (!IsPostBack) 15 | { 16 | switch (helper.GetParam("action").ToLower()) 17 | { 18 | case "del": 19 | try 20 | { 21 | helper.Result = Wlniao.WeChat.BLL.Rules.DelRules(helper.GetParam("Guid")); 22 | } 23 | catch (Exception ex) 24 | { 25 | helper.Result.Add("错误:" + ex.Message); 26 | } 27 | helper.ResponseResult(); 28 | break; 29 | case "convertmethod": 30 | try 31 | { 32 | Wlniao.WeChat.Model.Rules rule = Wlniao.WeChat.BLL.Rules.Get(helper.GetParam("Guid")); 33 | if (string.IsNullOrEmpty(rule.DoMethod)) 34 | { 35 | rule.DoMethod = "Wlniao.Empty"; 36 | } 37 | rule.update("DoMethod"); 38 | } 39 | catch (Exception ex) 40 | { 41 | helper.Result.Add("错误:" + ex.Message); 42 | } 43 | helper.ResponseResult(); 44 | break; 45 | case "convertauto": 46 | try 47 | { 48 | Wlniao.WeChat.Model.Rules rule = Wlniao.WeChat.BLL.Rules.Get(helper.GetParam("Guid")); 49 | rule.DoMethod = ""; 50 | rule.update("DoMethod"); 51 | } 52 | catch (Exception ex) 53 | { 54 | helper.Result.Add("错误:" + ex.Message); 55 | } 56 | helper.ResponseResult(); 57 | break; 58 | case "getlist": 59 | int pageIndex = 0; 60 | int pageSize = int.MaxValue; 61 | try 62 | { 63 | pageIndex = int.Parse(helper.GetParam("pageIndex")); 64 | pageSize = int.Parse(helper.GetParam("pageSize")); 65 | } 66 | catch { } 67 | 68 | System.DataPage items = db.findPage("DoMethod=''", pageIndex, pageSize); 69 | try 70 | { 71 | foreach (Wlniao.WeChat.Model.Rules rule in items.Results) 72 | { 73 | try 74 | { 75 | 76 | } 77 | catch { } 78 | } 79 | } 80 | catch { } 81 | List list = null; 82 | list = items.Results; 83 | if (list == null) 84 | { 85 | list = new List(); 86 | } 87 | helper.Response("{total:" + items.RecordCount + ",data:" + Json.ToStringList(items.Results) + "}"); 88 | break; 89 | } 90 | } 91 | } 92 | } 93 | } -------------------------------------------------------------------------------- /Weback/WeChat/Base/RulesAuto.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class RulesAuto { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/RulesForm.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class RulesForm { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/RulesMethod.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat.Base 9 | { 10 | public partial class RulesMethod : LoginPage 11 | { 12 | protected void Page_Load(object sender, EventArgs e) 13 | { 14 | if (!IsPostBack) 15 | { 16 | switch (helper.GetParam("action").ToLower()) 17 | { 18 | case "del": 19 | try 20 | { 21 | helper.Result =Wlniao.WeChat.BLL.Rules.DelRules(helper.GetParam("Guid")); 22 | } 23 | catch (Exception ex) 24 | { 25 | helper.Result.Add("错误:" + ex.Message); 26 | } 27 | helper.ResponseResult(); 28 | break; 29 | case "getlist": 30 | int pageIndex = 0; 31 | int pageSize = int.MaxValue; 32 | try 33 | { 34 | pageIndex = int.Parse(helper.GetParam("pageIndex")); 35 | pageSize = int.Parse(helper.GetParam("pageSize")); 36 | } 37 | catch { } 38 | 39 | System.DataPage items = db.findPage("DoMethod<>''", pageIndex, pageSize); 40 | 41 | try 42 | { 43 | foreach (Wlniao.WeChat.Model.Rules rule in items.Results) 44 | { 45 | try 46 | { 47 | 48 | } 49 | catch { } 50 | } 51 | } 52 | catch { } 53 | List list = null; 54 | list = items.Results; 55 | if (list == null) 56 | { 57 | list = new List(); 58 | } 59 | helper.Response("{total:" + items.RecordCount + ",data:" + Json.ToStringList(items.Results) + "}"); 60 | break; 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Weback/WeChat/Base/RulesMethod.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class RulesMethod { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/Setting.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat.Base 9 | { 10 | public partial class Setting : LoginPage 11 | { 12 | protected string _website = ""; 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | if (!IsPostBack) 16 | { 17 | if (Request.Url.Port == 80) 18 | { 19 | _website = Request.Url.Host; 20 | } 21 | else 22 | { 23 | _website = Request.Url.Host + ":" + Request.Url.Port; 24 | } 25 | _website += Request.Url.AbsolutePath.Replace("/base/setting.aspx", ""); 26 | switch (helper.GetParam("action").ToLower()) 27 | { 28 | case "get": 29 | helper.Add("WeChatName", System.Data.KvTableUtil.GetString("WeChatName")); 30 | helper.Add("AccountName", System.Data.KvTableUtil.GetString("AccountName")); 31 | helper.Add("WeChatToken", System.Data.KvTableUtil.GetString("WeChatToken")); 32 | helper.Add("NoMessage", System.Data.KvTableUtil.GetString("NoMessage")); 33 | helper.Add("SessionTimeOut", System.Data.KvTableUtil.GetString("SessionTimeOut")); 34 | helper.Add("UploadExt", System.Data.KvTableUtil.GetString("UploadExt")); 35 | helper.Add("Appid", System.Data.KvTableUtil.GetString("Appid")); 36 | helper.Add("Secret", System.Data.KvTableUtil.GetString("Secret")); 37 | helper.Add("Intro", System.Data.KvTableUtil.GetString("Intro").Replace("\n", "
")); 38 | helper.Add("FootCopyRight", System.Data.KvTableUtil.GetString("FootCopyRight")); 39 | helper.Response(); 40 | break; 41 | case "set": 42 | if (!string.IsNullOrEmpty(helper.GetParam("WeChatName"))) 43 | { 44 | } 45 | System.Data.KvTableUtil.Save("WeChatName", helper.GetParam("WeChatName")); 46 | System.Data.KvTableUtil.Save("AccountName", helper.GetParam("AccountName")); 47 | System.Data.KvTableUtil.Save("WeChatToken", helper.GetParam("WeChatToken")); 48 | System.Data.KvTableUtil.Save("NoMessage", helper.GetParam("NoMessage")); 49 | Wlniao.WeChat.BLL.Rules.SessionTimeOut = -1; 50 | System.Data.KvTableUtil.Save("SessionTimeOut", helper.GetParam("SessionTimeOut")); 51 | System.Data.KvTableUtil.Save("UploadExt", helper.GetParam("UploadExt")); 52 | System.Data.KvTableUtil.Save("Appid", helper.GetParam("Appid")); 53 | System.Data.KvTableUtil.Save("Secret", helper.GetParam("Secret")); 54 | System.Data.KvTableUtil.Save("Intro", helper.GetParam("Intro")); 55 | System.Data.KvTableUtil.Save("FootCopyRight", helper.GetParam("FootCopyRight")); 56 | 57 | try 58 | { 59 | if (!string.IsNullOrEmpty(helper.GetParam("Appid")) || !string.IsNullOrEmpty(helper.GetParam("Secret"))) 60 | { 61 | Wlniao.WeChat.WeixinMP.MP.Init(); 62 | } 63 | } 64 | catch (Exception ex) 65 | { 66 | helper.Result.Add("设置保存成功!但APPID校验失败,错误:" + ex.Message); 67 | } 68 | helper.ResponseResult(); 69 | break; 70 | } 71 | } 72 | } 73 | } 74 | } -------------------------------------------------------------------------------- /Weback/WeChat/Base/Setting.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat.Base { 12 | 13 | 14 | public partial class Setting { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Base/fulecodedemo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/Base/fulecodedemo.jpg -------------------------------------------------------------------------------- /Weback/WeChat/Base/fulecontentdemo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/Base/fulecontentdemo.jpg -------------------------------------------------------------------------------- /Weback/WeChat/Default.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WeChat.Default" %> 2 | 3 | 4 | <%=_titleName%>|微信公众帐号管理系统 - Weback 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 22 | 31 |
32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /Weback/WeChat/Default.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat 9 | { 10 | public partial class Default : LoginPage 11 | { 12 | protected string _titleName = System.Data.KvTableUtil.GetString("WeChatName"); 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Weback/WeChat/Default.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat { 12 | 13 | 14 | public partial class Default { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Login.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat 9 | { 10 | public partial class Login : System.TemplateEngine.PageBase 11 | { 12 | protected string _titleName = System.Data.KvTableUtil.GetString("WeChatName"); 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | if (Request["do"] == "init") 16 | { 17 | AshxHelper helper = new AshxHelper(Context); 18 | if (helper.Result.IsValid) 19 | { 20 | System.Data.KvTableUtil.Save("WeChatName", "Weback"); 21 | System.Data.KvTableUtil.Save("NoMessage", "nomatchfound"); 22 | System.Data.KvTableUtil.Save("SessionTimeOut", "180"); 23 | System.Data.KvTableUtil.Save("UploadExt", ".jpg,.gif,.png,.mp3,.wav,.acc,.wma,.rm"); 24 | Wlniao.WeChat.BLL.Rules.AddRules("订阅事件", "subscribe", "#", "Wlniao.Subscribe", "你好,感谢您的订阅,我们为您提供了丰富的功能,回复“帮助”查看命令列表吧", "系统默认事件"); 25 | Wlniao.WeChat.BLL.Rules.AddRules("取消订阅事件", "unsubscribe", "#", "Wlniao.UnSubscribe", "", "系统默认事件"); 26 | Wlniao.WeChat.BLL.Rules.AddRules("无匹配信息", "nomatchfound", "#", "", "您说的内容好复杂哦,我没法理解啦!请说点其他的吧~~", "用户内容无匹配信息时执行"); 27 | Wlniao.WeChat.BLL.Rules.AddRules("帮助菜单", "帮助", "#", "", "微信管理员尚未设置帮助菜单", "默认的帮助菜单内容"); 28 | Wlniao.WeChat.BLL.Rules.AddRules("在线翻译", "在线翻译", "#", "Wlniao.API", "", "在线翻译接口", "http://wxapi.azurewebsites.net/Translation.aspx"); 29 | Wlniao.WeChat.BLL.Rules.AddRules("Wlniao测试接口:Hello", "Hello 你好 未来鸟 机器人", "#", "Wlniao.Hello", "", "Wlniao测试接口(如:Hello 未来鸟 机器人)"); 30 | try 31 | { 32 | file.Delete(PathHelper.Map("~/xcenter/data/wechat/manager.xml")); 33 | } 34 | catch { } 35 | helper.Result = Wlniao.WeChat.BLL.Sys.Register(Request["username"], Request["password"], true); 36 | if (helper.Result.IsValid) 37 | { 38 | System.Data.KvTableUtil.Save("HasInit", "true"); 39 | } 40 | } 41 | helper.ResponseResult(); 42 | } 43 | else if (Request["do"] == "login") 44 | { 45 | AshxHelper helper = new AshxHelper(Context); 46 | helper.Result = Wlniao.WeChat.BLL.Sys.CheckLogin(Request["username"], Request["password"]); 47 | if (helper.Result.IsValid) 48 | { 49 | Session["Account"] = Request["username"]; 50 | } 51 | helper.ResponseResult(); 52 | } 53 | else 54 | { 55 | Session["Account"] = null; 56 | } 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Weback/WeChat/Login.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat { 12 | 13 | 14 | public partial class Login { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Main.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="WeChat.Main" %> -------------------------------------------------------------------------------- /Weback/WeChat/Main.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat 9 | { 10 | public partial class Main : LoginPage 11 | { 12 | protected string _titleName = System.Data.KvTableUtil.GetString("WeChatName"); 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | Response.Redirect("base/setting.aspx"); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Weback/WeChat/Main.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat { 12 | 13 | 14 | public partial class Main { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下特性集 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("WeChat")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("WeChat")] 13 | [assembly: AssemblyCopyright("Copyright © 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("44c64ef1-97ae-43ab-9ec8-f87c0c7fe146")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 您可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] 36 | -------------------------------------------------------------------------------- /Weback/WeChat/Properties/LoginPage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace WeChat 6 | { 7 | public class LoginPage : System.Web.PageBase 8 | { 9 | protected override void OnLoad(EventArgs e) 10 | { 11 | if (Session["Account"] == null || string.IsNullOrEmpty(Session["Account"].ToString())) 12 | { 13 | if (string.IsNullOrEmpty(helper.GetParam("action"))) 14 | { 15 | Response.Redirect("~/Login.aspx"); 16 | } 17 | else 18 | { 19 | Result result = new Result(); 20 | result.Add("Sorry,您尚未登录或登录已经超时!"); 21 | helper.Result = result; 22 | helper.ResponseResult(); 23 | } 24 | } 25 | else 26 | { 27 | base.OnLoad(e); 28 | } 29 | } 30 | protected string GetAccountGuid() 31 | { 32 | if (Session["Account"] == null) 33 | { 34 | return ""; 35 | } 36 | else 37 | { 38 | return Session["Account"].ToString(); 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Weback/WeChat/WeChat.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | CurrentPage 13 | True 14 | False 15 | False 16 | False 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | False 26 | True 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Weback/WeChat/WeChat.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/WeChat.suo -------------------------------------------------------------------------------- /Weback/WeChat/WeChatApi.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WeChatApi.aspx.cs" Inherits="WeChat.WeChatApi" %> 2 | -------------------------------------------------------------------------------- /Weback/WeChat/WeChatApi.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Xml; 5 | using System.Web; 6 | using System.Web.UI; 7 | using System.Web.UI.WebControls; 8 | using Wlniao.WeChat.BLL; 9 | namespace WeChat 10 | { 11 | public partial class WeChatApi : Wlniao.WeChat.WeChatApi 12 | { 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Weback/WeChat/WeChatApi.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.17929 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace WeChat { 12 | 13 | 14 | public partial class WeChatApi { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Weback/WeChat/Web.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 16 | 17 | -------------------------------------------------------------------------------- /Weback/WeChat/article.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="article.aspx.cs" Inherits="WeChat.article" %> 2 | 3 | 4 | 5 | 6 | 7 | <%=_Title%> 8 | 9 | 10 | 22 | 23 | 24 |
25 |
26 |

<%=_Title%>

27 |
28 | <%----%> 29 |
30 |
31 | 39 |
40 |
41 |

<%=_Title%>

42 |
43 |
44 | <%=_Content%> 45 |
46 |
47 | <%-- --%> 56 |
57 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /Weback/WeChat/article.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | namespace WeChat 9 | { 10 | public partial class article : System.Web.UI.Page 11 | { 12 | public string _FootCopyRight = "

©Weback

"; 13 | public string _Title = ""; 14 | public string _PicUrl = ""; 15 | public string _Content = ""; 16 | protected void Page_Load(object sender, EventArgs e) 17 | { 18 | if (!IsPostBack) 19 | { 20 | Wlniao.WeChat.Model.RuleContent rc =null; 21 | try 22 | { 23 | rc = Wlniao.WeChat.Model.RuleContent.findById(Convert.ToInt32(Request["id"])); 24 | } 25 | catch { } 26 | if (rc == null) 27 | { 28 | Response.Clear(); 29 | Response.End(); 30 | } 31 | else 32 | { 33 | _Title = rc.Title; 34 | _PicUrl = rc.PicUrl; 35 | _Content = strUtil.HtmlDecode(rc.TextContent); 36 | 37 | string str = System.Data.KvTableUtil.GetString("FootCopyRight"); 38 | if (!string.IsNullOrEmpty(str)) 39 | { 40 | if (strUtil.RemoveHtmlTag(str).Length == str.Length) 41 | { 42 | _FootCopyRight = "

" + str + "

"; 43 | } 44 | else 45 | { 46 | _FootCopyRight = str; 47 | } 48 | } 49 | } 50 | } 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /Weback/WeChat/article.aspx.designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // <自动生成> 3 | // 此代码由工具生成。 4 | // 5 | // 对此文件的更改可能会导致不正确的行为,并且如果 6 | // 重新生成代码,这些更改将会丢失。 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace WeChat { 11 | 12 | 13 | public partial class article { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Weback/WeChat/license.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 微信公众帐号管理平台 | Weback - 授权协议 7 | 8 | 17 | 18 | 19 | 20 |
21 |
22 |
23 | 29 |

30 |
31 |
32 | 53 |
54 |
55 |
56 |
57 | © Copyright 2013 Weback. All Rights Reserved. by Wlniao.Studio 58 |
59 |
60 |
61 |
62 |
63 |
64 | 65 | -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/plugins/iframeTools.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * artDialog iframeTools 3 | * Date: 2011-12-08 1:32 4 | * http://code.google.com/p/artdialog/ 5 | * (c) 2009-2011 TangBin, http://www.planeArt.cn 6 | * 7 | * This is licensed under the GNU LGPL, version 2.1 or later. 8 | * For details, see: http://creativecommons.org/licenses/LGPL/2.1/ 9 | */ 10 | eval(function(B,D,A,G,E,F){function C(A){return A<62?String.fromCharCode(A+=A<26?65:A<52?71:-4):A<63?'_':A<64?'$':C(A>>6)+C(A&63)}while(A>0)E[C(G--)]=D[--A];return B.replace(/[\w\$]+/g,function(A){return E[A]==F[A]?A:E[A]})}('(6(E,C,D,A){c B,X,W,J="@_.DATA",K="@_.OPEN",H="@_.OPENER",I=C.k=C.k||"@_.WINNAME"+(Bd Bo).Be(),F=C.VBArray&&!C.XMLHttpRequest;E(6(){!C.Bu&&7.BY==="B0"&&Br("9 Error: 7.BY === \\"B0\\"")});c G=D.d=6(){c W=C,X=6(A){f{c W=C[A].7;W.BE}u(X){v!V}v C[A].9&&W.BE("frameset").length===U};v X("d")?W=C.d:X("BB")&&(W=C.BB),W}();D.BB=G,B=G.9,W=6(){v B.BW.w},D.m=6(C,B){c W=D.d,X=W[J]||{};W[J]=X;b(B!==A)X[C]=B;else v X[C];v X},D.BQ=6(W){c X=D.d[J];X&&X[W]&&1 X[W]},D.through=X=6(){c X=B.BR(i,BJ);v G!==C&&(D.B4[X.0.Z]=X),X},G!==C&&E(C).BN("unload",6(){c A=D.B4,W;BO(c X BS A)A[X]&&(W=A[X].0,W&&(W.duration=U),A[X].s(),1 A[X])}),D.p=6(B,O,BZ){O=O||{};c N,L,M,Bc,T,S,R,Q,BF,P=D.d,Ba="8:BD;n:-Bb;d:-Bb;Bp:o U;Bf:transparent",BI="r:g%;x:g%;Bp:o U";b(BZ===!V){c BH=(Bd Bo).Be(),BG=B.replace(/([?&])W=[^&]*/,"$1_="+BH);B=BG+(BG===B?(/\\?/.test(B)?"&":"?")+"W="+BH:"")}c G=6(){c B,C,W=L.2.B2(".aui_loading"),A=N.0;M.addClass("Bi"),W&&W.hide();f{Q=T.$,R=E(Q.7),BF=Q.7.Bg}u(X){T.q.5=BI,A.z?N.z(A.z):N.8(A.n,A.d),O.j&&O.j.l(N,Q,P),O.j=By;v}B=A.r==="Bt"?R.r()+(F?U:parseInt(E(BF).Bv("marginLeft"))):A.r,C=A.x==="Bt"?R.x():A.x,setTimeout(6(){T.q.5=BI},U),N.Bk(B,C),A.z?N.z(A.z):N.8(A.n,A.d),O.j&&O.j.l(N,Q,P),O.j=By},I={w:W(),j:6(){N=i,L=N.h,Bc=L.BM,M=L.2,T=N.BK=P.7.Bn("BK"),T.Bx=B,T.k="Open"+N.0.Z,T.q.5=Ba,T.BX("frameborder",U,U),T.BX("allowTransparency",!U),S=E(T),N.2().B3(T),Q=T.$;f{Q.k=T.k,D.m(T.k+K,N),D.m(T.k+H,C)}u(X){}S.BN("BC",G)},s:6(){S.Bv("4","o").unbind("BC",G);b(O.s&&O.s.l(i,T.$,P)===!V)v!V;M.removeClass("Bi"),S[U].Bx="about:blank",S.remove();f{D.BQ(T.k+K),D.BQ(T.k+H)}u(X){}}};Bq O.Y=="6"&&(I.Y=6(){v O.Y.l(N,T.$,P)}),Bq O.y=="6"&&(I.y=6(){v O.y.l(N,T.$,P)}),1 O.2;BO(c J BS O)I[J]===A&&(I[J]=O[J]);v X(I)},D.p.Bw=D.m(I+K),D.BT=D.m(I+H)||C,D.p.origin=D.BT,D.s=6(){c X=D.m(I+K);v X&&X.s(),!V},G!=C&&E(7).BN("mousedown",6(){c X=D.p.Bw;X&&X.w()}),D.BC=6(C,D,B){B=B||!V;c G=D||{},H={w:W(),j:6(A){c W=i,X=W.0;E.ajax({url:C,success:6(X){W.2(X),G.j&&G.j.l(W,A)},cache:B})}};1 D.2;BO(c F BS G)H[F]===A&&(H[F]=G[F]);v X(H)},D.Br=6(B,A){v X({Z:"Alert",w:W(),BL:"warning",t:!U,BA:!U,2:B,Y:!U,s:A})},D.confirm=6(C,A,B){v X({Z:"Confirm",w:W(),BL:"Bm",t:!U,BA:!U,3:U.V,2:C,Y:6(X){v A.l(i,X)},y:6(X){v B&&B.l(i,X)}})},D.prompt=6(D,B,C){C=C||"";c A;v X({Z:"Prompt",w:W(),BL:"Bm",t:!U,BA:!U,3:U.V,2:["",D,"","","",""].join(""),j:6(){A=i.h.2.B2("Bl")[U],A.select(),A.BP()},Y:6(X){v B&&B.l(i,A.B1,X)},y:!U})},D.tips=6(B,A){v X({Z:"Tips",w:W(),title:!V,y:!V,t:!U,BA:!V}).2(""+B+"").time(A||V.B6)},E(6(){c A=D.dragEvent;b(!A)v;c B=E(C),X=E(7),W=F?"BD":"t",H=A.prototype,I=7.Bn("e"),G=I.q;G.5="4:o;8:"+W+";n:U;d:U;r:g%;x:g%;"+"cursor:move;filter:alpha(3=U);3:U;Bf:#FFF",7.Bg.B3(I),H.Bj=H.Bs,H.BV=H.Bz,H.Bs=6(){c E=D.BP.h,C=E.BM[U],A=E.2[U].BE("BK")[U];H.Bj.BR(i,BJ),G.4="block",G.w=D.BW.w+B5,W==="BD"&&(G.r=B.r()+"a",G.x=B.x()+"a",G.n=X.scrollLeft()+"a",G.d=X.scrollTop()+"a"),A&&C.offsetWidth*C.offsetHeight>307200&&(C.q.BU="hidden")},H.Bz=6(){c X=D.BP;H.BV.BR(i,BJ),G.4="o",X&&(X.h.BM[U].q.BU="visible")}})})(i.art||i.Bu,i,i.9)','P|R|T|U|V|W|0|1|_|$|ok|id|px|if|var|top|div|try|100|DOM|this|init|name|call|data|left|none|open|style|width|close|fixed|catch|return|zIndex|height|cancel|follow|config|delete|content|opacity|display|cssText|function|document|position|artDialog|ARTDIALOG|contentWindow|lock|parent|load|absolute|getElementsByTagName|S|Y|Z|a|arguments|iframe|icon|main|bind|for|focus|removeData|apply|in|opener|visibility|_end|defaults|setAttribute|compatMode|O|Q|9999em|X|new|getTime|background|body|padding|aui_state_full|_start|size|input|question|createElement|Date|border|typeof|alert|start|auto|jQuery|css|api|src|null|end|BackCompat|value|find|appendChild|list|3|5'.split('|'),109,122,{},{})) -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/error.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/face-sad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/face-sad.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/face-smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/face-smile.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/loading.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/question.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/succeed.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/icons/warning.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/idialog_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/idialog_s.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/idialog_s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/idialog_s2.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_close.hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_close.hover.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_close.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_e.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_n.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_ne.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_nw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_nw.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_s.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_se.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_sw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_sw.png -------------------------------------------------------------------------------- /Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/artDialog/skins/idialog/ie6/aui_w.png -------------------------------------------------------------------------------- /Weback/WeChat/res/css/page-style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/css/page-style.css -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/css/Descr.WD3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/css/Descr.WD3 -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/font/Descr.WD3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/font/Descr.WD3 -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/font/fontawesome-webfont.eot@: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/font/fontawesome-webfont.eot@ -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Weback/WeChat/res/font-awesome/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/font-awesome/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Weback/WeChat/res/img/blockquote-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/blockquote-down.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/blockquote-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/blockquote-up.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/breadcrumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/breadcrumb.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/glyphicons-halflings-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/glyphicons-halflings-gray.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/gritter.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/hue.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/icon-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/icon-edit.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/larrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/larrow.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/line.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/logo-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/logo-big.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/logo.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/menu-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/menu-active.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/rarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/rarrow.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/saturation.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/select2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/select2.png -------------------------------------------------------------------------------- /Weback/WeChat/res/img/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/spinner.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/img/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/img/sprite.png -------------------------------------------------------------------------------- /Weback/WeChat/res/jquery.jmp3.js: -------------------------------------------------------------------------------- 1 | /*** 2 | * jMP3 v0.2.1 - 10.10.2006 (w/Eolas fix & jQuery object replacement) 3 | * an MP3 Player jQuery Plugin (http://www.sean-o.com/jquery/jmp3) 4 | * by Sean O 5 | * 6 | * An easy way make any MP3 playable directly on most any web site (to those using Flash & JS), 7 | * using the sleek Flash Single MP3 Player & the fantabulous jQuery. 8 | * 9 | * SIMPLE USAGE Example: 10 | * $(youridorclass).jMP3(); 11 | * 12 | * ADVANCED USAGE Example: 13 | * $("#sounddl").jmp3({ 14 | * showfilename: "false", 15 | * backcolor: "000000", 16 | * forecolor: "00ff00", 17 | * width: 200, 18 | * showdownload: "false" 19 | * }); 20 | * 21 | * HTML: 22 | * sound.mp3 23 | * 24 | * NOTE: filename must be enclosed in tag. Various file paths can be set using the filepath option. 25 | * 26 | * Copyright (c) 2006 Sean O (http://www.sean-o.com) 27 | * Licensed under the MIT License: 28 | * http://www.opensource.org/licenses/mit-license.php 29 | * 30 | ***/ 31 | jQuery.fn.jmp3 = function(passedOptions){ 32 | // hard-wired options 33 | var playerpath = "/res/"; // SET THIS FIRST: path to singlemp3player.swf 34 | 35 | // passable options 36 | var options = { 37 | "filepath": "", // path to MP3 file (default: current directory) 38 | "backcolor": "000000", // background color 39 | "forecolor": "00ff00", // foreground color (buttons) 40 | "width": "200", // width of player 41 | "repeat": "no", // repeat mp3? 42 | "volume": "50", // mp3 volume (0-100) 43 | "autoplay": "false", // play immediately on page load? 44 | "showdownload": "false", // show download button in player 45 | "showfilename": "false" // show .mp3 filename after player 46 | }; 47 | // use passed options, if they exist 48 | if (passedOptions) { 49 | jQuery.extend(options, passedOptions); 50 | } 51 | 52 | // iterate through each object 53 | return this.each(function(){ 54 | // filename needs to be enclosed in tag (e.g. mysong.mp3) 55 | var filename = options.filepath + jQuery(this).html(); 56 | // do nothing if not an .mp3 file 57 | var validfilename = filename.indexOf(".mp3"); 58 | if (validfilename == -1) { return false; } 59 | // build the player HTML 60 | var mp3html = ''; 67 | mp3html += ''; 68 | mp3html += ' 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/fileUp.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="fileUp" %> 2 | <%@ Assembly Src="Uploader.cs" %> 3 | /** 4 | * Created by visual studio 2010 5 | * User: xuheng 6 | * Date: 12-3-9 7 | * Time: 下午13:53 8 | * To change this template use File | Settings | File Templates. 9 | */ 10 | using System; 11 | using System.Web; 12 | using System.IO; 13 | using System.Collections; 14 | 15 | public class fileUp : IHttpHandler 16 | { 17 | 18 | public void ProcessRequest(HttpContext context) 19 | { 20 | context.Response.ContentType = "text/plain"; 21 | 22 | //上传配置 23 | String pathbase = "upload/"; //保存路径 24 | string[] filetype = { ".rar", ".doc", ".docx", ".zip", ".pdf", ".txt", ".swf", ".wmv" }; //文件允许格式 25 | int size = 100; //文件大小限制,单位MB,同时在web.config里配置环境默认为100MB 26 | 27 | 28 | //上传文件 29 | Hashtable info = new Hashtable(); 30 | Uploader up = new Uploader(); 31 | info = up.upFile(context, pathbase, filetype, size); //获取上传状态 32 | 33 | context.Response.Write("{'state':'" + info["state"] + "','url':'" + info["url"] + "','fileType':'" + info["currentType"] + "','original':'" + info["originalName"] + "'}"); //向浏览器返回数据json数据 34 | } 35 | 36 | public bool IsReusable 37 | { 38 | get 39 | { 40 | return false; 41 | } 42 | } 43 | 44 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/getContent.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="getContent" %> 2 | /** 3 | * Created by visual studio 2010 4 | * User: xuheng 5 | * Date: 12-3-6 6 | * Time: 下午21:23 7 | * To get the value of editor and output the value . 8 | */ 9 | using System; 10 | using System.Web; 11 | 12 | public class getContent : IHttpHandler { 13 | 14 | public void ProcessRequest (HttpContext context) { 15 | context.Response.ContentType = "text/html"; 16 | 17 | //获取数据 18 | string content = context.Server.HtmlEncode(context.Request.Form["myEditor"]); 19 | string content1 = context.Server.HtmlEncode(context.Request.Form["myEditor1"]); 20 | 21 | //存入数据库或者其他操作 22 | //------------- 23 | 24 | //显示 25 | context.Response.Write(""); 26 | context.Response.Write( 27 | ""); 32 | 33 | context.Response.Write("第1个编辑器的值"); 34 | context.Response.Write("
" + context.Server.HtmlDecode(content) + "
"); 35 | context.Response.Write("
第2个编辑器的值
"); 36 | context.Response.Write("
"); 37 | } 38 | 39 | public bool IsReusable { 40 | get { 41 | return false; 42 | } 43 | } 44 | 45 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/getMovie.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="getMovie" %> 2 | /** 3 | * Created by visual studio 2010 4 | * User: xuheng 5 | * Date: 12-3-7 6 | * Time: 下午14:45 7 | * To change this template use File | Settings | File Templates. 8 | */ 9 | using System; 10 | using System.Web; 11 | using System.Net; 12 | using System.Text; 13 | 14 | public class getMovie : IHttpHandler { 15 | 16 | public void ProcessRequest (HttpContext context) { 17 | context.Response.ContentType = "text/html"; 18 | string key = context.Server.HtmlEncode(context.Request.Form["searchKey"]); 19 | string type = context.Server.HtmlEncode(context.Request.Form["videoType"]); 20 | 21 | Uri httpURL = new Uri("http://api.tudou.com/v3/gw?method=item.search&appKey=myKey&format=json&kw="+key+"&pageNo=1&pageSize=20&channelId="+type+"&inDays=7&media=v&sort=s"); 22 | WebClient MyWebClient = new WebClient(); 23 | 24 | 25 | MyWebClient.Credentials = CredentialCache.DefaultCredentials; //获取或设置用于向Internet资源的请求进行身份验证的网络凭据 26 | Byte[] pageData = MyWebClient.DownloadData(httpURL); 27 | 28 | context.Response.Write(Encoding.UTF8.GetString(pageData)); 29 | } 30 | 31 | public bool IsReusable { 32 | get { 33 | return false; 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/getRemoteImage.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="getRemoteImage" %> 2 | /** 3 | * Created by visual studio 2010 4 | * User: xuheng 5 | * Date: 12-3-8 6 | * Time: 下午13:33 7 | * To get the Remote image. 8 | */ 9 | using System; 10 | using System.Web; 11 | using System.Collections; 12 | using System.Text.RegularExpressions; 13 | using System.Net; 14 | using System.IO; 15 | 16 | public class getRemoteImage : IHttpHandler 17 | { 18 | 19 | public void ProcessRequest(HttpContext context) 20 | { 21 | string savePath = context.Server.MapPath("upload/"); //保存文件地址 22 | string[] filetype = { ".gif", ".png", ".jpg", ".jpeg", ".bmp" }; //文件允许格式 23 | int fileSize = 3000; //文件大小限制,单位kb 24 | 25 | string uri = context.Server.HtmlEncode(context.Request["upfile"]); 26 | uri = uri.Replace("&", "&"); 27 | string[] imgUrls = Regex.Split(uri, "ue_separate_ue", RegexOptions.IgnoreCase); 28 | 29 | ArrayList tmpNames = new ArrayList(); 30 | WebClient wc = new WebClient(); 31 | HttpWebResponse res; 32 | String tmpName = String.Empty; 33 | String imgUrl = String.Empty; 34 | String currentType = String.Empty; 35 | 36 | try 37 | { 38 | for (int i = 0, len = imgUrls.Length; i < len; i++) 39 | { 40 | imgUrl = imgUrls[i]; 41 | 42 | if (imgUrl.Substring(0, 7) != "http://") 43 | { 44 | tmpNames.Add("error!"); 45 | continue; 46 | } 47 | 48 | //格式验证 49 | int temp = imgUrl.LastIndexOf('.'); 50 | currentType = imgUrl.Substring(temp).ToLower(); 51 | if (Array.IndexOf(filetype, currentType) == -1) 52 | { 53 | tmpNames.Add("error!"); 54 | continue; 55 | } 56 | 57 | res = (HttpWebResponse)WebRequest.Create(imgUrl).GetResponse(); 58 | //http检测 59 | if (res.ResponseUri.Scheme.ToLower().Trim() != "http") 60 | { 61 | tmpNames.Add("error!"); 62 | continue; 63 | } 64 | //大小验证 65 | if (res.ContentLength > fileSize * 1024) 66 | { 67 | tmpNames.Add("error!"); 68 | continue; 69 | } 70 | //死链验证 71 | if (res.StatusCode != HttpStatusCode.OK) 72 | { 73 | tmpNames.Add("error!"); 74 | continue; 75 | } 76 | //检查mime类型 77 | if (res.ContentType.IndexOf("image") == -1) 78 | { 79 | tmpNames.Add("error!"); 80 | continue; 81 | } 82 | res.Close(); 83 | 84 | //创建保存位置 85 | if (!Directory.Exists(savePath)) 86 | { 87 | Directory.CreateDirectory(savePath); 88 | } 89 | 90 | //写入文件 91 | tmpName = DateTime.Now.ToString("yyyy-MM-dd") + "/" + System.Guid.NewGuid() + currentType; 92 | wc.DownloadFile(imgUrl, savePath + tmpName); 93 | tmpNames.Add("upload/" + tmpName); 94 | } 95 | } 96 | catch (Exception) 97 | { 98 | tmpNames.Add("error!"); 99 | } 100 | finally 101 | { 102 | wc.Dispose(); 103 | } 104 | context.Response.Write("{url:'" + converToString(tmpNames) + "',tip:'远程图片抓取成功!',srcUrl:'" + uri + "'}"); 105 | } 106 | 107 | //集合转换字符串 108 | private string converToString(ArrayList tmpNames) 109 | { 110 | String str = String.Empty; 111 | for (int i = 0, len = tmpNames.Count; i < len; i++) 112 | { 113 | str += tmpNames[i] + "ue_separate_ue"; 114 | if (i == tmpNames.Count - 1) 115 | str += tmpNames[i]; 116 | } 117 | return str; 118 | } 119 | 120 | public bool IsReusable 121 | { 122 | get 123 | { 124 | return false; 125 | } 126 | } 127 | 128 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/imageManager.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="imageManager" %> 2 | /** 3 | * Created by visual studio2010 4 | * User: xuheng 5 | * Date: 12-3-7 6 | * Time: 下午16:29 7 | * To change this template use File | Settings | File Templates. 8 | */ 9 | using System; 10 | using System.Web; 11 | using System.IO; 12 | using System.Text.RegularExpressions; 13 | 14 | public class imageManager : IHttpHandler 15 | { 16 | 17 | public void ProcessRequest(HttpContext context) 18 | { 19 | context.Response.ContentType = "text/plain"; 20 | 21 | string[] paths = { "upload", "upload1" }; //需要遍历的目录列表,最好使用缩略图地址,否则当网速慢时可能会造成严重的延时 22 | string[] filetype = { ".gif", ".png", ".jpg", ".jpeg", ".bmp" }; //文件允许格式 23 | 24 | string action = context.Server.HtmlEncode(context.Request["action"]); 25 | 26 | if (action == "get") 27 | { 28 | String str = String.Empty; 29 | 30 | foreach (string path in paths) 31 | { 32 | DirectoryInfo info = new DirectoryInfo(context.Server.MapPath(path)); 33 | 34 | //目录验证 35 | if (info.Exists) 36 | { 37 | DirectoryInfo[] infoArr = info.GetDirectories(); 38 | foreach (DirectoryInfo tmpInfo in infoArr) 39 | { 40 | foreach (FileInfo fi in tmpInfo.GetFiles()) 41 | { 42 | if (Array.IndexOf(filetype, fi.Extension) != -1) 43 | { 44 | str += path+"/" + tmpInfo.Name + "/" + fi.Name + "ue_separate_ue"; 45 | } 46 | } 47 | } 48 | } 49 | } 50 | 51 | context.Response.Write(str); 52 | } 53 | } 54 | 55 | 56 | public bool IsReusable 57 | { 58 | get 59 | { 60 | return false; 61 | } 62 | } 63 | 64 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/imageUp.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="imageUp" %> 2 | <%@ Assembly Src="Uploader.cs" %> 3 | 4 | using System; 5 | using System.Web; 6 | using System.IO; 7 | using System.Collections; 8 | 9 | public class imageUp : IHttpHandler 10 | { 11 | public void ProcessRequest(HttpContext context) 12 | { 13 | context.Response.ContentType = "text/plain"; 14 | 15 | //上传配置 16 | int size = 2; //文件大小限制,单位MB //文件大小限制,单位MB 17 | string[] filetype = { ".gif", ".png", ".jpg", ".jpeg", ".bmp" }; //文件允许格式 18 | 19 | 20 | //上传图片 21 | Hashtable info = new Hashtable(); 22 | Uploader up = new Uploader(); 23 | 24 | string pathbase = null; 25 | int path=Convert.ToInt32( up.getOtherInfo(context, "dir")); 26 | if (path == 1) 27 | { 28 | pathbase = "upload/" ; 29 | 30 | }else{ 31 | pathbase = "upload1/"; 32 | } 33 | 34 | info = up.upFile(context, pathbase, filetype, size); //获取上传状态 35 | 36 | string title = up.getOtherInfo(context, "pictitle"); //获取图片描述 37 | string oriName = up.getOtherInfo(context, "fileName"); //获取原始文件名 38 | 39 | 40 | HttpContext.Current.Response.Write("{'url':'" + info["url"] + "','title':'" + title + "','original':'" + oriName + "','state':'" + info["state"] + "'}"); //向浏览器返回数据json数据 41 | } 42 | 43 | public bool IsReusable 44 | { 45 | get 46 | { 47 | return false; 48 | } 49 | } 50 | 51 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/net/scrawlUp.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" Class="scrawlImgUp" %> 2 | <%@ Assembly Src="Uploader.cs" %> 3 | 4 | using System; 5 | using System.Web; 6 | using System.IO; 7 | using System.Collections; 8 | 9 | public class scrawlImgUp : IHttpHandler 10 | { 11 | 12 | public void ProcessRequest(HttpContext context) 13 | { 14 | context.Response.ContentType = "text/html"; 15 | string action = context.Request["action"]; 16 | 17 | if (action == "tmpImg") 18 | { 19 | //上传配置 20 | string pathbase = "tmp/"; //保存路径 21 | int size = 2; //文件大小限制,单位mb //文件大小限制,单位KB 22 | string[] filetype = { ".gif", ".png", ".jpg", ".jpeg", ".bmp" }; //文件允许格式 23 | 24 | //上传图片 25 | Hashtable info = new Hashtable(); 26 | Uploader up = new Uploader(); 27 | info = up.upFile(context, pathbase, filetype, size); //获取上传状态 28 | 29 | HttpContext.Current.Response.Write("");//回调函数 30 | } 31 | else 32 | { 33 | string pathbase = "upload/"; //保存路径 34 | string tmpPath = "tmp/"; //临时图片目录 35 | 36 | //上传图片 37 | Hashtable info = new Hashtable(); 38 | Uploader up = new Uploader(); 39 | info = up.upScrawl(context, pathbase, tmpPath, context.Request["content"]); //获取上传状态 40 | 41 | //向浏览器返回json数据 42 | HttpContext.Current.Response.Write("{'url':'" + info["url"] + "',state:'" + info["state"] + "'}"); 43 | } 44 | } 45 | 46 | public bool IsReusable 47 | { 48 | get 49 | { 50 | return false; 51 | } 52 | } 53 | 54 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/dialogbase.css: -------------------------------------------------------------------------------- 1 | /*弹出对话框页面样式组件 2 | */ 3 | 4 | /*reset 5 | */ 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, font, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td { 15 | margin: 0; 16 | padding: 0; 17 | outline: 0; 18 | font-size: 100%; 19 | } 20 | 21 | body { 22 | line-height: 1; 23 | } 24 | 25 | ol, ul { 26 | list-style: none; 27 | } 28 | 29 | blockquote, q { 30 | quotes: none; 31 | } 32 | 33 | ins { 34 | text-decoration: none; 35 | } 36 | 37 | del { 38 | text-decoration: line-through; 39 | } 40 | 41 | table { 42 | border-collapse: collapse; 43 | border-spacing: 0; 44 | } 45 | 46 | /*module 47 | */ 48 | body { 49 | background-color: #fff; 50 | font: 12px/1.5 "宋体", "Arial Narrow", HELVETICA; 51 | color: #646464; 52 | } 53 | 54 | /*tab*/ 55 | .tabhead { 56 | position: relative; 57 | z-index: 10; 58 | } 59 | 60 | .tabhead span { 61 | display: inline-block; 62 | padding: 0 5px; 63 | height: 30px; 64 | border: 1px solid #ccc; 65 | background: url("images/dialog-title-bg.png") repeat-x; 66 | text-align: center; 67 | line-height: 30px; 68 | cursor: pointer; 69 | *margin-right: 5px; 70 | } 71 | 72 | .tabhead span.focus { 73 | height: 31px; 74 | border-bottom: none; 75 | background: #fff; 76 | } 77 | 78 | .tabbody { 79 | position: relative; 80 | top: -1px; 81 | margin: 0 auto; 82 | border: 1px solid #ccc; 83 | } 84 | 85 | /*button*/ 86 | a.button { 87 | display: block; 88 | text-align: center; 89 | line-height: 24px; 90 | text-decoration: none; 91 | height: 24px; 92 | width: 95px; 93 | border: 0; 94 | color: #838383; 95 | background: url(../../themes/default/images/icons-all.gif) no-repeat; 96 | } 97 | 98 | a.button:hover { 99 | background-position: 0 -30px; 100 | } -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/anchor.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/arrow.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/button-bg.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/cancelbutton.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/cursor_h.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/cursor_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/cursor_h.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/cursor_v.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/cursor_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/cursor_v.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/filescan.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/highlighted.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/icons-all.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/icons.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/icons.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/lock.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/pagebreak.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/scale.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/spacer.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/sparator_v.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/toolbar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/toolbar_bg.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/unhighlighted.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/upload.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/videologo.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/word.gif -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/default/images/wordpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/themes/default/images/wordpaste.png -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/themes/iframe.css: -------------------------------------------------------------------------------- 1 | /*可以在这里添加你自己的css*/ 2 | -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/third-party/codemirror/codemirror.css: -------------------------------------------------------------------------------- 1 | .CodeMirror { 2 | line-height: 1em; 3 | font-family: monospace; 4 | } 5 | 6 | .CodeMirror-scroll { 7 | overflow: auto; 8 | height: 300px; 9 | /* This is needed to prevent an IE[67] bug where the scrolled content 10 | is visible outside of the scrolling box. */ 11 | position: relative; 12 | } 13 | 14 | .CodeMirror-gutter { 15 | position: absolute; left: 0; top: 0; 16 | z-index: 10; 17 | background-color: #f7f7f7; 18 | border-right: 1px solid #eee; 19 | min-width: 2em; 20 | height: 100%; 21 | } 22 | .CodeMirror-gutter-text { 23 | color: #aaa; 24 | text-align: right; 25 | padding: .4em .2em .4em .4em; 26 | white-space: pre !important; 27 | } 28 | .CodeMirror-lines { 29 | padding: .4em; 30 | } 31 | 32 | .CodeMirror pre { 33 | -moz-border-radius: 0; 34 | -webkit-border-radius: 0; 35 | -o-border-radius: 0; 36 | border-radius: 0; 37 | border-width: 0; margin: 0; padding: 0; background: transparent; 38 | font-family: inherit; 39 | font-size: inherit; 40 | padding: 0; margin: 0; 41 | white-space: pre; 42 | word-wrap: normal; 43 | } 44 | 45 | .CodeMirror-wrap pre { 46 | word-wrap: break-word; 47 | white-space: pre-wrap; 48 | } 49 | .CodeMirror-wrap .CodeMirror-scroll { 50 | overflow-x: hidden; 51 | } 52 | 53 | .CodeMirror textarea { 54 | outline: none !important; 55 | } 56 | 57 | .CodeMirror pre.CodeMirror-cursor { 58 | z-index: 10; 59 | position: absolute; 60 | visibility: hidden; 61 | border-left: 1px solid black; 62 | } 63 | .CodeMirror-focused pre.CodeMirror-cursor { 64 | visibility: visible; 65 | } 66 | 67 | span.CodeMirror-selected { background: #d9d9d9; } 68 | .CodeMirror-focused span.CodeMirror-selected { background: #d2dcf8; } 69 | 70 | .CodeMirror-searching {background: #ffa;} 71 | 72 | /* Default theme */ 73 | 74 | .cm-s-default span.cm-keyword {color: #708;} 75 | .cm-s-default span.cm-atom {color: #219;} 76 | .cm-s-default span.cm-number {color: #164;} 77 | .cm-s-default span.cm-def {color: #00f;} 78 | .cm-s-default span.cm-variable {color: black;} 79 | .cm-s-default span.cm-variable-2 {color: #05a;} 80 | .cm-s-default span.cm-variable-3 {color: #085;} 81 | .cm-s-default span.cm-property {color: black;} 82 | .cm-s-default span.cm-operator {color: black;} 83 | .cm-s-default span.cm-comment {color: #a50;} 84 | .cm-s-default span.cm-string {color: #a11;} 85 | .cm-s-default span.cm-string-2 {color: #f50;} 86 | .cm-s-default span.cm-meta {color: #555;} 87 | .cm-s-default span.cm-error {color: #f00;} 88 | .cm-s-default span.cm-qualifier {color: #555;} 89 | .cm-s-default span.cm-builtin {color: #30a;} 90 | .cm-s-default span.cm-bracket {color: #cc7;} 91 | .cm-s-default span.cm-tag {color: #170;} 92 | .cm-s-default span.cm-attribute {color: #00c;} 93 | .cm-s-default span.cm-header {color: #a0a;} 94 | .cm-s-default span.cm-quote {color: #090;} 95 | .cm-s-default span.cm-hr {color: #999;} 96 | .cm-s-default span.cm-link {color: #00c;} 97 | 98 | span.cm-header, span.cm-strong {font-weight: bold;} 99 | span.cm-em {font-style: italic;} 100 | span.cm-emstrong {font-style: italic; font-weight: bold;} 101 | span.cm-link {text-decoration: underline;} 102 | 103 | div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} 104 | div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} 105 | -------------------------------------------------------------------------------- /Weback/WeChat/res/ueditor/uparse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/WeChat/res/ueditor/uparse.js -------------------------------------------------------------------------------- /Weback/WeChat/res/wlniao-media.css: -------------------------------------------------------------------------------- 1 | body { 2 | background:#2E363F; 3 | } 4 | 5 | #header { 6 | background-color: #1f262d; 7 | margin-top:10px; 8 | } 9 | #search input[type=text], #search button { 10 | background-color: #28b779; 11 | } 12 | #search input[type=text]:focus { 13 | color: #777777; 14 | } 15 | #sidebar > ul{border-bottom: 1px solid #37414b} 16 | #sidebar > ul > li { 17 | border-top: 1px solid #37414b; border-bottom: 1px solid #1f262d; 18 | } 19 | #sidebar > ul > li.active { 20 | background-color: #27a9e3; border-bottom: 1px solid #27a9e3; border-top: 1px solid #27a9e3; 21 | } 22 | #sidebar > ul > li.active a{ color:#fff; text-decoration:none;} 23 | 24 | #sidebar > ul > li > a > .label { 25 | background-color:#F66; 26 | } 27 | #sidebar > ul > li > a:hover { 28 | background-color: #27a9e3; color:#fff; 29 | } 30 | #sidebar > ul li ul { 31 | background-color: #1e242b; 32 | } 33 | #sidebar > ul li ul li a{ color:#939da8} 34 | #sidebar > ul li ul li a:hover, #sidebar > ul li ul li.active a { 35 | color: #fff; 36 | background-color: #28b779; 37 | } 38 | 39 | 40 | #search input[type=text] { 41 | background-color: #47515b; color: #fff; 42 | } 43 | #search input[type=text]:focus { 44 | color: #2e363f; color: #fff; box-shadow:none; 45 | } 46 | .dropdown-menu li a:hover, .dropdown-menu .active a, .dropdown-menu .active a:hover { 47 | color: #eeeeee; 48 | background:#666; 49 | 50 | } 51 | .top_message{ float:right; padding:20px 12px; position:relative; top:-13px; border-left:1px solid #3D3A37; font-size:14px; line-height:20px; *line-height:20px; color:#333; text-align:center; vertical-align:middle; cursor:pointer; } 52 | .top_message:hover{ background:#000} 53 | .rightzero{ right:0px; display:none;} 54 | @media (max-width: 480px) { 55 | #sidebar > a { 56 | background:#27a9e3; 57 | 58 | } 59 | .quick-actions_homepage .quick-actions li{ min-width:100%;} 60 | } 61 | @media (min-width: 768px) and (max-width: 970px) {.quick-actions_homepage .quick-actions li{ min-width:20.5%;}} 62 | @media (min-width: 481px) and (max-width: 767px) { 63 | #sidebar > ul ul:before { 64 | } 65 | #sidebar > ul ul:after { 66 | border-right: 6px solid #222222; 67 | } 68 | .quick-actions_homepage .quick-actions li{ min-width:47%;} 69 | } 70 | div.tagsinput { border:1px solid #CCC; background: #FFF; padding:5px; width:300px; height:100px; overflow-y: auto;} 71 | div.tagsinput span.tag { border: 1px solid #a5d24a; -moz-border-radius:2px; -webkit-border-radius:2px; display: block; float: left; padding: 5px; text-decoration:none; background: #cde69c; color: #638421; margin-right: 5px; margin-bottom:5px;font-family: helvetica; font-size:13px;} 72 | div.tagsinput span.tag a { font-weight: bold; color: #82ad2b; text-decoration:none; font-size: 11px; } 73 | div.tagsinput input { width:80px; margin:0px; font-family: helvetica; font-size: 13px; border:1px solid transparent; padding:5px; background: transparent; color: #000; outline:0px; margin-right:5px; margin-bottom:5px; } 74 | div.tagsinput div { display:block; float: left; } 75 | .tags_clear { clear: both; width: 100%; height: 0px; } 76 | .not_valid {background: #FBD8DB !important; color: #90111A !important;} 77 | -------------------------------------------------------------------------------- /Weback/WeChat/upload.ashx: -------------------------------------------------------------------------------- 1 | <%@ WebHandler Language="C#" CodeBehind="upload.ashx.cs" Class="WeChat.Upload" %> 2 | -------------------------------------------------------------------------------- /Weback/WeChat/使用说明.txt: -------------------------------------------------------------------------------- 1 | Weback是一款免费开源的微信管理系统,它可以协助您管理您的公众微信帐号,通过微信公众互动管理系统的二次开发你可以实现微信和您现有系统的整合,也可以方便的设置自动回复、代码段执行、关键字智能匹配等多种规则, 甚至是完成一个人机交互的对话。 2 | 系统特点: 3 | 4 | 1、按照规则自动回复; 2、执行一段自定义查询代码; 3、按流程交互和流程间跳转; 4、检测内容中关键词和匹配系数; 5、大量API可添加,也可以自己编写; 6、订阅、菜单点击等事件处理. 5 | 6 | 产品主页:http://weback.wlniao.com 7 | QQ交流群:103608853 8 | 9 | 使用说明: 10 | 一、在系统设置中填写Token; 11 | 二、设置微信公众帐号为开发模式,API地址为: 12 | http://您的域名/wechatapi.aspx 13 | 三、测试用户 帐号:admin 密码:admin 14 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/Base.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Wlniao.WeChat.Extend 6 | { 7 | public class Base : Wlniao.WeChat.ActionBase 8 | { 9 | /// 10 | /// 定以后将不再调用Wlniao.WeChat.Wlniao中的Default方法 11 | /// 12 | /// 13 | public string Default() 14 | { 15 | return System.Data.KvTableUtil.GetString("NoMessage"); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/Demo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Wlniao.WeChat.Extend 6 | { 7 | public class Demo : Wlniao.WeChat.ActionBase 8 | { 9 | public string Chs2Pinyin() 10 | { 11 | string msg = strUtil.Chs2Pinyin(MsgArgs); //将用户输入内容转换成拼音 12 | return FlagSuccess(msg); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Wlniao.WeChat.Extend")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("微软公司")] 12 | [assembly: AssemblyProduct("Wlniao.WeChat.Extend")] 13 | [assembly: AssemblyCopyright("Copyright © 微软公司 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("c22cc5f4-231f-4b5f-bfbb-298585b05e86")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/Wlniao.WeChat.Extend.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | AnyCPU 6 | 8.0.30703 7 | 2.0 8 | {3DB71454-A650-44CE-9405-091DD2A9EAB6} 9 | Library 10 | Properties 11 | Wlniao.WeChat.Extend 12 | Wlniao.WeChat.Extend 13 | v2.0 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | pdbonly 27 | true 28 | bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | 33 | 34 | 35 | 36 | 37 | 38 | ..\..\XCore.dll 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | {ED9DE299-972D-402E-989E-4FDDC871D6CA} 48 | Wlniao.WeChat 49 | 50 | 51 | 52 | 59 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/Wlniao.WeChat.Extend.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.Extend.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.Extend.dll -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.Extend.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.Extend.pdb -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.dll -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/bin/Debug/Wlniao.WeChat.pdb -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/bin/Debug/XCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/bin/Debug/XCore.dll -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat.Extend/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat.Extend/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Api.cs: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | 程序名称:Weback微信公众帐号管理系统 3 | 源码作者:谢超逸 © Wlniao http://www.xiechaoyi.com 4 | 5 | 6 | 文件名称:Wlniao.WeChat\Api.cs 7 | 运 行 库:2.0.50727.1882 8 | 代码功能:Api程序基础类 9 | 10 | 最后修改:2013年4月11日 07:30:00 11 | 修改备注: 12 | ------------------------------------------------------------------------------*/ 13 | using System; 14 | using System.IO; 15 | using System.Xml; 16 | using System.Reflection; 17 | using System.Collections.Generic; 18 | using System.Security.Cryptography; 19 | using System.Web; 20 | using System.Text; 21 | using Wlniao.WeChat.BLL; 22 | 23 | namespace Wlniao.WeChat 24 | { 25 | public class Api : System.Web.UI.Page 26 | { 27 | private static string _ApiUrl = ""; 28 | protected static string ApiUrl 29 | { 30 | get 31 | { 32 | if (string.IsNullOrEmpty(_ApiUrl)) 33 | { 34 | if (HttpContext.Current.Request.Url.Port == 80) 35 | { 36 | _ApiUrl = "http://" + HttpContext.Current.Request.Url.Host; 37 | } 38 | else 39 | { 40 | _ApiUrl = "http://" + HttpContext.Current.Request.Url.Host + ":" + HttpContext.Current.Request.Url.Port; 41 | } 42 | } 43 | return _ApiUrl; 44 | } 45 | } 46 | public string RunMethod(string method, String cmdForm, String toId, String msgText, String msgArgs) 47 | { 48 | String content = ""; //方法执行结果 49 | try 50 | { 51 | String classname = method.Substring(0, method.LastIndexOf('.')); //获取类名 52 | String methodname = method.Substring(method.LastIndexOf('.') + 1); //获取方法名 53 | Type type = null; 54 | try 55 | { 56 | type = Type.GetType(String.Format("Wlniao.WeChat.Extend.{0}, Wlniao.WeChat.Extend", classname), false, true); 57 | if (type == null) 58 | { 59 | type = Type.GetType(String.Format("Wlniao.WeChat.Method.{0}, Wlniao.WeChat", classname), false, true); 60 | } 61 | } 62 | catch{} 63 | try 64 | { 65 | ActionBase action = (ActionBase)Activator.CreateInstance(type); 66 | action.FromId = cmdForm.TrimStart().TrimEnd(); 67 | action.ToId = toId; 68 | action.MsgText = msgText; 69 | action.MsgArgs = msgArgs; 70 | content = type.InvokeMember(methodname, BindingFlags.Public | BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.IgnoreCase, null, action, new object[] { }).ToString(); 71 | } 72 | catch{} 73 | } 74 | catch { } 75 | return content; 76 | } 77 | public string RunDefaultMethod(String cmdForm, String toId, String msgText) 78 | { 79 | String content = ""; 80 | Type type = null; 81 | try 82 | { 83 | type = Type.GetType("Wlniao.WeChat.Extend.Base, Wlniao.WeChat.Extend", false, true); 84 | if (type == null) 85 | { 86 | type = Type.GetType("Wlniao.WeChat.Method.Wlniao, Wlniao.WeChat", false, true); 87 | } 88 | } 89 | catch { } 90 | try 91 | { 92 | ActionBase action = (ActionBase)Activator.CreateInstance(type); 93 | action.FromId = cmdForm; 94 | action.ToId = toId; 95 | action.MsgText = msgText; 96 | action.MsgArgs = msgText; 97 | content = type.InvokeMember("Default", BindingFlags.Public | BindingFlags.Instance | BindingFlags.InvokeMethod | BindingFlags.IgnoreCase, null, action, new object[] { }).ToString(); 98 | } 99 | catch { } 100 | return content; 101 | } 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/BLL/Sys.cs: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | 程序名称:Weback微信公众帐号管理系统 3 | 源码作者:谢超逸 © Wlniao http://www.xiechaoyi.com 4 | 5 | 6 | 文件名称:Wlniao.WeChat\BLL\Sys.cs 7 | 运 行 库:2.0.50727.1882 8 | 代码功能:系统数据存储方法定义 9 | 10 | 最后修改:2013年4月11日 07:30:00 11 | 修改备注: 12 | ------------------------------------------------------------------------------*/ 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | namespace Wlniao.WeChat.BLL 17 | { 18 | public class Sys 19 | { 20 | public static Result Register(String username, String password,Boolean supper) 21 | { 22 | Result result = new Result(); 23 | if (string.IsNullOrEmpty(username)) 24 | { 25 | result.Add("Sorry,管理员账号不能为空"); 26 | } 27 | else if (string.IsNullOrEmpty(password)) 28 | { 29 | result.Add("Sorry,管理员密码不能为空"); 30 | } 31 | else 32 | { 33 | if (password.Length != 32) 34 | { 35 | password = Encryptor.Md5Encryptor32(Encryptor.Md5Encryptor32(password)); 36 | } 37 | result.Join(System.IO.XMLHelper.AddData(PathHelper.Map("~/xcenter/data/wechat/manager.xml"), "Manager", System.IO.XMLHelper.CreateInsertParameter("Username", username), System.IO.XMLHelper.CreateInsertParameter("Password", password), System.IO.XMLHelper.CreateInsertParameter("Supper", supper ? "true" : "false"))); 38 | } 39 | return result; 40 | } 41 | public static Result CheckLogin(String username, String password) 42 | { 43 | Result result = new Result(); 44 | if (string.IsNullOrEmpty(username)) 45 | { 46 | result.Add("Sorry,管理员账号不能为空"); 47 | } 48 | else if (string.IsNullOrEmpty(password)) 49 | { 50 | result.Add("Sorry,管理员密码不能为空"); 51 | } 52 | else 53 | { 54 | if (password.Length != 32) 55 | { 56 | password = Encryptor.Md5Encryptor32(Encryptor.Md5Encryptor32(password)); 57 | } 58 | System.Xml.XmlNode xn = System.IO.XMLHelper.GetDataOne(PathHelper.Map("~/xcenter/data/wechat/manager.xml"), "Manager", System.IO.XMLHelper.CreateEqualParameter("Username", username)); 59 | if (xn == null) 60 | { 61 | result.Add("Sorry,管理员账号不存在"); 62 | } 63 | else if (xn.Attributes["Password"].Value != password) 64 | { 65 | result.Add("Sorry,您输入的密码不正确"); 66 | } 67 | } 68 | return result; 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Method/Demo.cs: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | 程序名称:Weback微信公众帐号管理系统 3 | 源码作者:谢超逸 © Wlniao http://www.xiechaoyi.com 4 | 5 | 6 | 文件名称:Wlniao.WeChat\Method\Demo.cs 7 | 运 行 库:2.0.50727.1882 8 | 代码功能:自定义方法示例 9 | 10 | 最后修改:2013年4月11日 07:30:00 11 | 修改备注: 12 | ------------------------------------------------------------------------------*/ 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace Wlniao.WeChat.Method 18 | { 19 | public class Demo : Wlniao 20 | { 21 | 22 | #region 演示方法 23 | public string Hello() 24 | { 25 | string[] contents = MsgText.Split(BLL.Rules.Separation, StringSplitOptions.RemoveEmptyEntries); 26 | if (contents.Length <= 3 || string.IsNullOrEmpty(MsgArgs)) 27 | { 28 | if (string.IsNullOrEmpty(MsgArgs)) 29 | { 30 | return @"您好! 31 | 请告诉我您的名字"; 32 | BLL.Fans.SetGoOnCmd(FromId, ""); 33 | } 34 | else if (contents.Length == 2) 35 | { 36 | BLL.Fans.SetGoOnCmd(FromId, MsgArgs); 37 | return MsgArgs + @"您好! 38 | 请告诉我您的性别,“男”或“女”"; 39 | } 40 | else if (contents.Length == 3) 41 | { 42 | if (MsgArgs == "男" || MsgArgs == "女") 43 | { 44 | return FlagSuccess(contents[1] + (string.IsNullOrEmpty(contents[2]) ? "未知" : (contents[2] == "男" ? "先生" : "女士")) + ",你好!"); 45 | } 46 | else 47 | { 48 | return "性别输入错误,请输入“男”或“女”"; 49 | } 50 | } 51 | } 52 | return ""; 53 | } 54 | public string HelloWorld() 55 | { 56 | return FlagSuccess("您对我说了:" + MsgArgs); 57 | } 58 | #endregion 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Model/Menus.cs: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | 程序名称:Weback微信公众帐号管理系统 3 | 源码作者:谢超逸 © Wlniao http://www.xiechaoyi.com 4 | 5 | 6 | 文件名称:Wlniao.WeChat\Model\Menus.cs 7 | 运 行 库:2.0.50727.1882 8 | 代码功能:订阅者信息实体类定义 9 | 10 | 最后修改:2013年4月11日 07:30:00 11 | 修改备注: 12 | ------------------------------------------------------------------------------*/ 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | using System.ORM; 17 | 18 | namespace Wlniao.WeChat.Model 19 | { 20 | public class Menus : ObjectBase 21 | { 22 | private string _MenuPath; 23 | /// 24 | /// 菜单路径("button即第一级菜单") 25 | /// 26 | [Column(Length = 50)] 27 | public string MenuPath 28 | { 29 | get { return _MenuPath; } 30 | set { _MenuPath = value; } 31 | } 32 | private string _MenuName; 33 | /// 34 | /// 按钮描述(既按钮名字,不超过16个字节,子菜单不超过40个字节) 35 | /// 36 | [Column(Length = 50)] 37 | public string MenuName 38 | { 39 | get { return _MenuName; } 40 | set { _MenuName = value; } 41 | } 42 | private string _MenuType; 43 | /// 44 | /// 按钮类型,目前有click类型 45 | /// 46 | [Column(Length = 30)] 47 | public string MenuType 48 | { 49 | get { return _MenuType; } 50 | set { _MenuType = value; } 51 | } 52 | private string _MenuKey; 53 | /// 54 | /// 按钮KEY值,用于消息接口(event类型)推送,不超过128字节 55 | /// 56 | [Column(Length = 200)] 57 | public string MenuKey 58 | { 59 | get { return _MenuKey; } 60 | set { _MenuKey = value; } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Wlniao.WeChat")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Wlniao.WeChat")] 13 | [assembly: AssemblyCopyright("Copyright © 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("f5106216-397b-445f-bc6b-39da60f9124e")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Wlniao.WeChat.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | AnyCPU 6 | 8.0.30703 7 | 2.0 8 | {ED9DE299-972D-402E-989E-4FDDC871D6CA} 9 | Library 10 | Properties 11 | Wlniao.WeChat 12 | Wlniao.WeChat 13 | v2.0 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | pdbonly 27 | true 28 | bin\Release\ 29 | prompt 30 | 4 31 | bin\Release\Wlniao.WeChat.XML 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | ..\..\XCore.dll 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | Code 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | ASPXCodeBehind 59 | 60 | 61 | ASPXCodeBehind 62 | 63 | 64 | 65 | 66 | 73 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/Wlniao.WeChat.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/bin/Debug/Wlniao.WeChat.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat/bin/Debug/Wlniao.WeChat.dll -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/bin/Debug/Wlniao.WeChat.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat/bin/Debug/Wlniao.WeChat.pdb -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/bin/Debug/XCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat/bin/Debug/XCore.dll -------------------------------------------------------------------------------- /Weback/Wlniao.WeChat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback/Wlniao.WeChat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /Weback使用说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/Weback使用说明.txt -------------------------------------------------------------------------------- /XCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coffiner/weback/d73c9d7c1c993448ded9492145059f68ede0f6f3/XCore.dll --------------------------------------------------------------------------------