|
@@ -9,11 +9,14 @@ $status = array
|
|
|
5 => '已提现',
|
|
|
6 => '提现失败',
|
|
|
);
|
|
|
+$button = array();
|
|
|
|
|
|
-$button = array
|
|
|
-(
|
|
|
- '资金划付' => array('oper', 'pay/yspay/cash.huafu_commit?account_id=' . Dever::input('search_option_account_id') . '&merchant_id=' . Dever::input('search_option_merchant_id')),
|
|
|
-);
|
|
|
+if (Dever::load('manage/auth')->checkFunc('pay.account', 'huafu', '资金划付')) {
|
|
|
+ $button = array
|
|
|
+ (
|
|
|
+ '资金划付' => array('oper', 'pay/yspay/cash.huafu_commit?account_id=' . Dever::input('search_option_account_id') . '&merchant_id=' . Dever::input('search_option_merchant_id')),
|
|
|
+ );
|
|
|
+}
|
|
|
return array
|
|
|
(
|
|
|
# 表名
|
|
@@ -210,7 +213,7 @@ return array
|
|
|
'edit' => false,
|
|
|
'insert' => false,
|
|
|
'delete' => false,
|
|
|
- //'button' => $button,
|
|
|
+ 'button' => $button,
|
|
|
),
|
|
|
|
|
|
'request' => array
|