public function test2(){ $Weixin = new \Weixin\Controller\BaseController(); $this->assign('signPackage', $Weixin->jssdk->GetSignPackage()); $this->display(); } html核心代码 <script type="text/javascript" src="__STATIC__/jquery-2.…
支持缩略图和水印. using System; using System.IO; using System.Linq; using System.Web; using System.Web.Helpers; namespace HZC.Util.Mvc { public class MvcImageUploader { #region 字段 private string[] _imageExts = new string[] { "jpg", "jpeg", &qu…