Cp礼物送礼处理
This commit is contained in:
@@ -7,6 +7,15 @@ use think\Db;
|
|||||||
|
|
||||||
class UserCp extends BaseCom
|
class UserCp extends BaseCom
|
||||||
{
|
{
|
||||||
|
//用户CP礼物回赠
|
||||||
|
public function cpGiveGift()
|
||||||
|
{
|
||||||
|
$user_id = input('user_id', 0);
|
||||||
|
$gift_id = input('gift_id', 0);
|
||||||
|
$reslut = model('GiveGift')->give_gift($this->uid, $user_id, $gift_id, 1,1,1);
|
||||||
|
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Cp 空间
|
//Cp 空间
|
||||||
public function cpZone()
|
public function cpZone()
|
||||||
|
|||||||
Reference in New Issue
Block a user