\app\api\ControllerCartController

购物车操作接口 Class CartController

Summary

Methods
Properties
Constants
initialize()
getall()
getcount()
add()
update()
delete()
clear()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

initialize()

initialize() 

getall()

getall() 

getcount()

getcount() 

add()

add(  $sku_id,   $count = 1) 

Parameters

$sku_id
$count

update()

update(  $sku_id,   $count = 1,   $id) 

Parameters

$sku_id
$count
$id

delete()

delete(  $sku_id) 

Parameters

$sku_id

clear()

clear()