1111111111111111
Posted rogge7
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了1111111111111111相关的知识,希望对你有一定的参考价值。
c.hash 得到64位 16进制的字符串
25336641ed5d2f00ede5bc7f82e981b5ba7b09d8ffba44709be5750597060c62
b3bd4b840fa297e36b56d3050a2682c9bfd2b41f7d55057dbbeb9f9e04a09c95
__onConfirmBet: function(t) {
var e = this;
cc.log("onConfirmBet", t.detail);
var n = this.globalNode.getComponent("global").platform;
if (n) {
var i = Math.random() * (new Date).getTime()
, f = u.sha256(String(i), "hex")
, c = {};
c.base = f,
c.hash = u.sha256(a.from(f, "hex"), "hex"),
cc.sys.localStorage.setItem("30max_keys", JSON.stringify(c));
var l = Number(t.detail.value).toFixed(o.precision).toString() + " " + o.symbol
, h = this.localUser.referrer ? this.localUser.referrer : n.getReferrer()
, p = "mg:" + c.hash;
h && "undefined" != h && "null" != h && "" != h && (p += ":" + h);
var d = void 0;
o.tokens.forEach(function(t) {
t.symbol == o.symbol && (d = t.contract)
}),
a.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, __onConfirmBet: function(t) { var e = this; cc.log("onConfirmBet", t.detail); var n = this.globalNode.getComponent("global").platform; if (n) { var i = Math.random() * (new Date).getTime() , f = u.sha256(String(i), "hex") , c = {}; c.base = f, c.hash = u.sha256(a.from(f, "hex"), "hex"), cc.sys.localStorage.setItem("30max_keys", JSON.stringify(c)); var l = Number(t.detail.value).toFixed(o.precision).toString() + " " + o.symbol , h = this.localUser.referrer ? this.localUser.referrer : n.getReferrer() , p = "mg:" + c.hash; h && "undefined" != h && "null" != h && "" != h && (p += ":" + h); var d = void 0; o.tokens.forEach(function(t) { t.symbol == o.symbol && (d = t.contract) }),
以上是关于1111111111111111的主要内容,如果未能解决你的问题,请参考以下文章