|
20精币
求翻译js到易运行,能注释最好
- GameHttp: [ function(e, t, i) {
- "use strict";
- cc._RF.push(t, "d6e03+knuBDn5uN2Y3wmkIi", "GameHttp");
- t.exports = {
- __init__: function() {
- this.sec_key = "";
- this.sec_key += "H";
- this.sec_key += "v";
- this.sec_key += "2";
- this.sec_key += "V";
- this.sec_key += "8";
- this.sec_key += "n";
- this.sec_key += "6";
- this.sec_key += "n";
- this.sec_key += "l";
- this.sec_key += "v";
- this.sec_key += "H";
- this.sec_key += "0";
- this.sec_key += "P";
- this.sec_key += "8";
- this.sec_key += "z";
- this.sec_key += "2";
- },
- send: function(e) {
- var t, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null, n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 5e3;
- null == i && (i = {});
- var a = uConfig.loginServerUrl + e;
- i.secretkey = this.getSecretkey(e, JSON.stringify(i), this.sec_key);
- t = JSON.stringify(i);
- unit.IHttp.post(a, t, o, n, {
- "Content-Type": "application/x-www-form-urlencoded"
- });
- },
- getSecretkey: function(e, t, i) {
- var o = e + t + i;
- return uTool.md5.md5(o);
- }
- };
- t.exports.__init__();
- cc._RF.pop();
- }, {} ]
复制代码 |
最佳答案
查看完整内容
你发问答区可能还有人会理你,你这是把精币当美元花吧,1块钱就能冲45精币了,而且精币也没啥用
|