修改finish.inc.php 中的function finishend 在
if($credit_back_tmp) {
foreach($credit_back_tmp as $uid => $v){ foreach 内做一个判断
if($auction['typeid']==1){
//updatemembercount($uid, array('extcredits'.($auction['extid'] ? $auction['extid'] : $_G['cache']['plugin']['auction']['auc_extcredit']) => $v['price']), false, 'AUC', $auction['tid']);
notification_add(
$uid,
'system',
lang('plugin/auction', 'n_auction_lose'),
array(
'auctionname' => $auction['name'],
'auctiontid' => $auction['tid'],
),
1
);
}else{
updatemembercount($uid, array('extcredits'.($auction['extid'] ? $auction['extid'] : $_G['cache']['plugin']['auction']['auc_extcredit']) => $v['price']), false, 'AUC', $auction['tid']);
notification_add(
$uid,
'system',
lang('plugin/auction', 'n_auction_lose_1'),
array(
'auctionname' => $auction['name'],
'auctiontid' => $auction['tid'],
),
1
);
}
修改结算后发的消息
我在 商城语言包 内加一个 n_auction_lose_1 大概意思为 未中拍 积分已返还 原有的n_auction_lose修改为未中奖。去掉提示的积分已返还 这几个字
|