...
|
...
|
@@ -15,13 +15,13 @@ use Api\Sign; |
|
|
class SaleData
|
|
|
{
|
|
|
/**
|
|
|
* @param $specialsaleId 专区ID
|
|
|
* @param int $specialsaleId 专区ID
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function getSpecial($specialsaleId)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['special_id'] = $specialsaleId;
|
|
|
$param['special_id'] = intval($specialsaleId);
|
|
|
$param['method'] = 'app.resources.getOneSpecial';
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
...
|
...
|
|