# 低价二次开发 联系微信/电话17854945210
修改```addons/ewei_shopv2/core/mobile/member/log.php```
把换成
~~~
$credit_condition换成如下
~~~
```
$credit_condition = ' and r.uniacid=' . $_W['uniacid'] . ' and r.credittype=\'credit2\' and r.openid = "' . $_W['openid'] . '" and r.num > 0 and remark not like \'%充值%\' order by r.createtime desc LIMIT ';
```
然后吧
if($uid>0) 去掉
完成如下
```
<?php
/*源码来自 https://www.mulu.cm 幕鹿源码*/
if (!defined('IN_IA')) {
exit('Access Denied');
}
class Log_EweiShopV2Page extends MobileLoginPage
{
public function main()
{
global $_W;
global $_GPC;
$_GPC['type'] = intval($_GPC['type']);
include $this->template();
}
public function get_list()
{
global $_W;
global $_GPC;
$type = intval($_GPC['type']);
$pindex = max(1, intval($_GPC['page']));
$psize = 10;
$apply_type = array(0 => '微信钱包', 2 => '支付宝', 3 => '银行卡');
$condition = ' and openid=:openid and uniacid=:uniacid and type=:type';
$params = array(':uniacid' => $_W['uniacid'], ':openid' => $_W['openid'], ':type' => intval($_GPC['type']));
$uidinfo = M('member')->getInfo($_W['openid']);
$uid = $uidinfo['uid'];
$credit_condition = ' and r.uniacid=' . $_W['uniacid'] . ' and r.credittype=\'credit2\' and r.openid = "' . $_W['openid'] . '" and r.num > 0 and remark not like \'%充值%\' order by r.createtime desc LIMIT ';
$r = pdo_fetchall('select m.uid,m.mobile,m.nickname,r.remark title,r.num money,r.createtime from ' . tablename('ewei_shop_member_credit_record') . 'r left join ' . tablename('ewei_shop_member') . ' m on m.uid = r.uid where 1 ' . $credit_condition . ($pindex - 1) * $psize . ',' . $psize);
foreach ($r as &$item) {
$item['createtime'] = date('Y-m-d H:i:s', $item['createtime']);
$item['rechargetype'] = 'credit';
}
unset($item);
$list = pdo_fetchall('select * from ' . tablename('ewei_shop_member_log') . (' where 1 ' . $condition . ' order by createtime desc LIMIT ') . ($pindex - 1) * $psize . ',' . $psize, $params);
$total = pdo_fetchcolumn('select count(*) from ' . tablename('ewei_shop_member_log') . (' where 1 ' . $condition), $params);
foreach ($list as &$row) {
$row['createtime'] = date('Y-m-d H:i', $row['createtime']);
$row['typestr'] = $apply_type[$row['applytype']];
}
unset($row);
if (is_array($r)) {
$list = array_merge($r, $list);
}
show_json(1, array('list' => $list, 'total' => $total, 'pagesize' => $uid));
}
}
?>
```
- 【11.18更新】人人商城弹出框
- 人人常用方法
- 人人分销【12.13更新】
- 分销走的升级逻辑
- 获取无限上级
- 【12.13更新】获取无限下级
- 统计伞下客户所有业绩
- 关于会员
- 注册走的逻辑
- 会员等级升级
- 关于商品
- 关于小程序
- 人人运费模板逻辑
- 订单创建
- 导入导出
- 导入
- 导出
- 人人快速导出
- 修改收货地址
- 人人客服消息
- 人人商城企业支付到零钱
- 人人商城DIY页面
- 订单【20201210更新】
- 支付逻辑【2020 12月10日更新】
- 订单创建1【20201210更新】
- 订单完成
- 人人权限修复
- 人人权限应用不出来修复
- 微信API
- 获取access_token
- 获取openid
- 修改公众号推送消息
- 问题修复
- 打印机开发
- 拼团
- 订单
- 拼团常用方法
- 余额详细不详细更改
- 修改菜单
- 关于微擎的事务处理逻辑
- 【11.20更新】余额记录不显示前端获得的余额
- BUG集合【2020年12月11日更新】
- 海报黑屏或者出不来
- 人人商城多商户无法上传图片解决办法
- 秒杀超卖解决方案【20210225更新】