Compare commits

..

No commits in common. "7a77fe39a11da9413f8b4000722eeacf64e18044" and "1497d3f7a0695011ebced20c9d47136ce2aee9de" have entirely different histories.

2 changed files with 2 additions and 19 deletions

View File

@ -24,7 +24,6 @@ class FenxiaoAccount extends BaseModel
'points' => '积分',
'contribution' => '贡献值',
'house_purchase' => '购房券',
'diamond'=>'钻石'
];
/**
@ -36,7 +35,7 @@ class FenxiaoAccount extends BaseModel
* @param $relate_id
* @return array
*/
public function addAccount($fenxiao_id, $fenxiao_name, $type = 'diamond', $money, $relate_id, $from_type = 'diamond',$remarks='')
public function addAccount($fenxiao_id, $fenxiao_name, $type = 'order', $money, $relate_id, $from_type = 'account',$remarks='')
{
$account_no = date('YmdHi') . rand(1000, 9999);
$data = array(

View File

@ -35,23 +35,7 @@ return [
// 缓存有效期 0表示永久缓存
'expire' => 604800,
// 缓存标签前缀
'tag_prefix' => 'teg:',
'prefix' => 'miaogou_cdlfjy_com_cache_',
],
// redis缓存 并发处理
'redis_concurrent' => [
// 驱动方式
'type' => 'redis',
// 服务器地址
'host' => '127.0.0.1',
// redis密码
'password' => '',
//选择Db区块
'select' => 9,
// 缓存有效期 0表示永久缓存
'expire' => 0,
// 缓存标签前缀
'prefix' => 'miaogou_cdlfjy_com_concurrent_',
'tag_prefix' => 'miaogou_cdlfjy_com_',
],
// 更多的缓存连接
],