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.
67 lines
1.8 KiB
67 lines
1.8 KiB
<?php
|
|
|
|
|
|
namespace App\Controller\v3;
|
|
|
|
use App\Controller\BaseController;
|
|
|
|
class UserDeliveryAddressController extends BaseController
|
|
{
|
|
public function update()
|
|
{
|
|
return $this->success(true);
|
|
}
|
|
|
|
public function get()
|
|
{
|
|
return $this->success(
|
|
[
|
|
'id' => 1,
|
|
'name' => '李小龙',
|
|
'sex' => '1',
|
|
'tel' => '15677455632',
|
|
'address' => '南宁市青秀区金湖北路59号地王国际商会中心',
|
|
'detailed_address' => 'A栋805',
|
|
'tag' => '同事家'
|
|
]
|
|
);
|
|
}
|
|
|
|
public function delete()
|
|
{
|
|
return $this->success(true);
|
|
}
|
|
|
|
public function getList()
|
|
{
|
|
return $this->success([
|
|
[
|
|
'id' => 1,
|
|
'name' => '李小龙',
|
|
'sex' => '1',
|
|
'tel' => '15677455632',
|
|
'address' => '南宁市青秀区金湖北路59号地王国际商会中心',
|
|
'detailed_address' => 'A栋805',
|
|
'tag' => '同事家'
|
|
],
|
|
[
|
|
'id' => 2,
|
|
'name' => '李连杰',
|
|
'sex' => '1',
|
|
'tel' => '15677455632',
|
|
'address' => '南宁市青秀区金湖北路59号地王国际商会中心',
|
|
'detailed_address' => 'A栋805',
|
|
'tag' => '同事家'
|
|
],
|
|
[
|
|
'id' => 3,
|
|
'name' => '郭富城',
|
|
'sex' => '1',
|
|
'tel' => '15677455632',
|
|
'address' => '南宁市青秀区金湖北路59号地王国际商会中心',
|
|
'detailed_address' => 'A栋805',
|
|
'tag' => '同事家'
|
|
]
|
|
]);
|
|
}
|
|
}
|