...
This commit is contained in:
parent
332d8d6e09
commit
43c579516a
@ -44,7 +44,7 @@ class LogService extends BaseService
|
|||||||
|
|
||||||
public static function consumeGold($event,$param = [])
|
public static function consumeGold($event,$param = [])
|
||||||
{
|
{
|
||||||
$logInfo = self::goldRecord(myself()->_getAccountId());
|
$logInfo = self::goldRecord($param);
|
||||||
$data = self::userInfo();
|
$data = self::userInfo();
|
||||||
$data['type'] = self::CONSUME_TYPE;
|
$data['type'] = self::CONSUME_TYPE;
|
||||||
$data['event_name'] = $event['name'];
|
$data['event_name'] = $event['name'];
|
||||||
@ -74,7 +74,7 @@ class LogService extends BaseService
|
|||||||
|
|
||||||
public static function productGold($event,$param = [])
|
public static function productGold($event,$param = [])
|
||||||
{
|
{
|
||||||
$logInfo = self::goldRecord(myself()->_getAccountId());
|
$logInfo = self::goldRecord($param);
|
||||||
$data = self::userInfo();
|
$data = self::userInfo();
|
||||||
$data['type'] = self::PRODUCT_TYPE;
|
$data['type'] = self::PRODUCT_TYPE;
|
||||||
$data['event_name'] = $event['name'];
|
$data['event_name'] = $event['name'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user