mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
修正#老婆 查询功能一处可能越权的查询逻辑
This commit is contained in:
parent
d77f230d8d
commit
3a2f626907
@ -86,7 +86,7 @@ export async function wife(e, { render, User }) {
|
|||||||
|
|
||||||
let MysApi = await e.getMysApi({
|
let MysApi = await e.getMysApi({
|
||||||
auth: "all",
|
auth: "all",
|
||||||
target: "all",
|
target: "self",
|
||||||
cookieType: "all",
|
cookieType: "all",
|
||||||
actionName: "查询信息"
|
actionName: "查询信息"
|
||||||
});
|
});
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
<div class="container elem_{{elem}}" id="container">
|
<div class="container elem_{{elem}}" id="container">
|
||||||
<div class="head-box" style="background-image:url('{{_res_path}}{{_char}}/party.png')">
|
<div class="head-box" style="background-image:url('{{_res_path}}/{{_char}}/party.png')">
|
||||||
<div class="head">
|
<div class="head">
|
||||||
<img src="{{_res_path}}{{_char}}/face.png"/>
|
<img src="{{_res_path}}{{_char}}/face.png"/>
|
||||||
</div>
|
</div>
|
||||||
@ -40,13 +40,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{each talent skill idx}}
|
{{each talent skill type}}
|
||||||
<div class="talent-box">
|
<div class="talent-box">
|
||||||
|
|
||||||
<div class="talent-detail">
|
<div class="talent-detail">
|
||||||
<div class="talent-line">
|
<div class="talent-line">
|
||||||
<div class="talent-icon">
|
<div class="talent-icon">
|
||||||
<img src="{{_res_path}}{{_char}}/talent_{{idx}}.png"/>
|
<img src="{{_res_path}}{{_char}}/talent_{{type}}.png"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="talent-info">
|
<div class="talent-info">
|
||||||
<strong class="talent-name">{{skill.name}}</strong>
|
<strong class="talent-name">{{skill.name}}</strong>
|
||||||
@ -67,7 +67,7 @@
|
|||||||
<div class="tr">
|
<div class="tr">
|
||||||
<div class="th"></div>
|
<div class="th"></div>
|
||||||
{{each skill.tableKeys lv idx}}
|
{{each skill.tableKeys lv idx}}
|
||||||
{{if idx>4 && idx < 13}}
|
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
|
||||||
<div class="th lv">{{lv}}</div>
|
<div class="th lv">{{lv}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
@ -78,7 +78,7 @@
|
|||||||
{{tr.name}}
|
{{tr.name}}
|
||||||
</div>
|
</div>
|
||||||
{{each tr.value v idx}}
|
{{each tr.value v idx}}
|
||||||
{{if idx >4 && idx < 13}}
|
{{if (type=="a" && idx>4 && idx<11) || (type!="a" && idx>4 && idx < 13)}}
|
||||||
<div class="td">{{v}}</div>
|
<div class="td">{{v}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
Loading…
Reference in New Issue
Block a user