mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 14:40:03 +08:00
debug
This commit is contained in:
@ -109,7 +109,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td class="view-operation">
|
||||
<if condition="$v['status'] eq 0">
|
||||
<if condition="in_array($v['status'], [0,4])">
|
||||
<button class="am-btn am-btn-default am-btn-xs am-radius am-icon-send-o submit-ajax" data-url="{{:U('Admin/AlipayLifeMessage/Send')}}" data-id="{{$v.id}}" data-view="reload"> {{:L('common_send_text')}}</button>
|
||||
|
||||
<a href="{{:U('Admin/AlipayLifeMessage/ContentIndex', array('message_id'=>$v['id']))}}">
|
||||
|
||||
@ -412,7 +412,7 @@ class AlipayLifeService
|
||||
return DataReturn('消息纪录不存在', -1);
|
||||
}
|
||||
$common_send_status_list = L('common_send_status_list');
|
||||
if($message['status'] != 0)
|
||||
if(!in_array($message['status'], [0,4]))
|
||||
{
|
||||
return DataReturn('状态不可操作['.$common_send_status_list[$message['status']]['name'].']', -2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user