微件:getMCBBSCredit:修订间差异

删除2字节 、​ 2022年7月23日 (星期六)
修复第二步:对接API
(修复第一步:替换URL)
(修复第二步:对接API)
.then((data) => {
console.log(data); window.res = data
let spacecredits = data.Variablescredits.spacecredit; //总积分
let creditspost = spacedata.creditsactivites.post; //总积分回帖
let postthread = spacedata.postsactivites.thread; //回帖主题
let threaddigestpost = spacedata.threadsactivites.digiest; //主题精华
let digestpostpopular = spacedata.digestpostscredits.popularity; //精华人气
let popular = space.extcredits1; //人气
// let goldngt = space.extcredits2; //金粒
// let goldigt = space.extcredits3; //金锭
// let emerald = space.extcredits4; //绿宝石
// let nethers = space.extcredits5; //下界之星
let contrib = spacedata.extcredits6credits.contribute; //贡献
let kindnes = spacedata.extcredits7credits.heart; //爱心
let diamond = spacedata.extcredits8credits.diamond; //钻石
let uname = spacedata.usernamenickname || ''; //用户名
let group = spacedata.groupactivites.grouptitlecurrentGroup || ''; //用户组
var json = {};
json.credits = {
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,462

个编辑