student-information-system-wechat-applet icon indicating copy to clipboard operation
student-information-system-wechat-applet copied to clipboard

教务系统小程序 student-information-system-wechat-applet

???$郴缁? 寰?淇″?绋?搴?

璇存??

姝f?规???$郴缁???锛?寰?淇★?灏?绋?搴?锛?~~??缁╂?版??????~~

??澶??ㄦ???$?????版??????锛?瀹㈡?风??浠?浣??版???剧ず

~~璇疯?涓??瑰???~~

姝ら」??浣跨??Applet ??绉颁?涓哄???よ?戒???涔???/strong>

婕?绀?/h2>
  1. 浠? GitHub ????椤圭??

  2. ???ㄥ井淇?Web 寮?????宸ュ?凤?娣诲??椤圭??

  3. ???╂?? AppID 锛?濉???浠绘????绉帮??惧?伴」????褰?娣诲??

  4. ?瑰?烩???ヨ?⑩??

???$郴缁? 寰?淇″?绋?搴?

???$郴缁? 寰?淇″?绋?搴?

~~灞???~~

?变? Javascript 璺ㄥ?????舵???舵??娉??存?ラ??杩?灏?绋?搴??绘????????缃?绔??? Cookie

xhr

Date: Fri, 30 Sep 2016 12:46:33 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 1.1.4322
X-Powered-By: ASP.NET
MicrosoftOfficeWebServer: 5.0_Pub
Content-Type: image/Gif; charset=gb2312
Access-Control-Allow-Origin: *
Cache-Control: private
Access-Control-Allow-Headers: X-Requested-With, Content-Type
Content-Length: 2245

chrome

HTTP/1.1 200 OK
Date: Fri, 30 Sep 2016 12:46:33 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: ASP.NET_SessionId=hw4tpo55f4005ojii14d2e3r; path=/
Cache-Control: private
Content-Type: image/Gif; charset=gb2312
Content-Length: 2245

灏?绋?搴????朵娇?ㄧ?存??GET ?峰???扮?? HTML ??瀹硅?琛?瑙f???跺??濉???瑙??句?涓烘?绀?/strong>

var achievementUrl = isDebug ? mockUrl + 'achievements.html' : sisUrl + '/xscj.aspx?xh='

濡????藉??垮??璺ㄥ??璁块???????讹?灏?绋?搴???浠ヤ?渚?璧????$??瀹?????????浠诲??/strong>

// XMLHttpRequest 瀹?澶?
var test = function (url, callback) {
  var xhr = new XMLHttpRequest()
  xhr.responseType = 'blob'
  xhr.onload = function () {
    var reader = new FileReader()
    var headers = xhr.getAllResponseHeaders()
    reader.onloadend = function () {
      callback(reader.result, headers)
    }
    reader.readAsDataURL(xhr.response)
  }
  xhr.open('GET', url)
  xhr.send()
}