You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
550 B

<?php
namespace app\service;
use app\service\ApiService;
class Card{
public static function addUser($params){
$apiService = ApiService::getInstance();
$response = $apiService->callApi('https://card.slash1000.com/api/v1/user/add', 'POST', $params);
return $response;
}
public static function cancelUser($params){
$apiService = ApiService::getInstance();
$response = $apiService->callApi('https://card.slash1000.com/api/v1/user/cancel', 'POST', $params);
return $response;
}
}