Skip to content

Commit

Permalink
customer address api
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Jul 5, 2019
1 parent 7a7b255 commit c946491
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -95,7 +95,7 @@ public function actionRemove(){
if(Yii::$app->request->getMethod() === 'OPTIONS'){
return [];
}
$address_id = Yii::$app->request->post('address_id');
$address_id = Yii::$app->request->get('address_id');
if($address_id){
$this->removeAddressById($address_id);

Expand All @@ -109,6 +109,7 @@ public function actionRemove(){
$data = [];
$responseData = Yii::$service->helper->appserver->getResponseData($code, $data);

return $responseData;
}
}

Expand Down

0 comments on commit c946491

Please sign in to comment.