Compare commits
No commits in common. "7a77fe39a11da9413f8b4000722eeacf64e18044" and "1497d3f7a0695011ebced20c9d47136ce2aee9de" have entirely different histories.
7a77fe39a1
...
1497d3f7a0
|
|
@ -24,7 +24,6 @@ class FenxiaoAccount extends BaseModel
|
||||||
'points' => '积分',
|
'points' => '积分',
|
||||||
'contribution' => '贡献值',
|
'contribution' => '贡献值',
|
||||||
'house_purchase' => '购房券',
|
'house_purchase' => '购房券',
|
||||||
'diamond'=>'钻石'
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -36,7 +35,7 @@ class FenxiaoAccount extends BaseModel
|
||||||
* @param $relate_id
|
* @param $relate_id
|
||||||
* @return array
|
* @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);
|
$account_no = date('YmdHi') . rand(1000, 9999);
|
||||||
$data = array(
|
$data = array(
|
||||||
|
|
|
||||||
|
|
@ -35,23 +35,7 @@ return [
|
||||||
// 缓存有效期 0表示永久缓存
|
// 缓存有效期 0表示永久缓存
|
||||||
'expire' => 604800,
|
'expire' => 604800,
|
||||||
// 缓存标签前缀
|
// 缓存标签前缀
|
||||||
'tag_prefix' => 'teg:',
|
'tag_prefix' => 'miaogou_cdlfjy_com_',
|
||||||
'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_',
|
|
||||||
],
|
],
|
||||||
// 更多的缓存连接
|
// 更多的缓存连接
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue