订单查询 不做登入验证

master
tpingzhang 5 years ago
parent 32b325eb36
commit 7ba207b7dd

@ -26,7 +26,7 @@
<if condition="$data_list">
<ul>
<volist name="data_list" id="data">
<li onclick="handleOrderDetail('{$data[\'order_id\']}','{$data[\'pay_status\']}','{$data[\'game_id\']}')">
<li onclick="handleOrderDetail('{$data[\'order_id\']}','{$data[\'pay_status\']}','{$data[\'game_id\'],'{$data[\'user_id\']}')">
<p>订单编号:{$data.order_id}</p>
<dl>
<dt><img src="{$data['icon']|get_cover='path'}"></dt>
@ -54,10 +54,10 @@
</if>
</div>
<script>
function handleOrderDetail(orderID, state, game_id) {
function handleOrderDetail(orderID, state, game_id, user_id) {
if (state == 1) {
//前往详情
window.location.href = "/sdk.php/Ipa365/install_show/order_id/"+orderID+"/game_id/"+game_id;
window.location.href = "/sdk.php/Ipa365/install_show/order_id/"+orderID+"/game_id/"+game_id+"/user_id/"+user_id;
}
}
</script>

Loading…
Cancel
Save