|
@@ -4,7 +4,7 @@ namespace Passport\Src;
|
|
use Dever;
|
|
use Dever;
|
|
use Passport\Lib\Base;
|
|
use Passport\Lib\Base;
|
|
|
|
|
|
-class Invoice
|
|
|
|
|
|
+class Invoice extends Base
|
|
{
|
|
{
|
|
# 获取默认地址
|
|
# 获取默认地址
|
|
public function getDefault($uid)
|
|
public function getDefault($uid)
|
|
@@ -28,7 +28,7 @@ class Invoice
|
|
# 添加或者更新地址接口
|
|
# 添加或者更新地址接口
|
|
public function up()
|
|
public function up()
|
|
{
|
|
{
|
|
- $uid = $this->check();
|
|
|
|
|
|
+ $uid = 1;
|
|
$id = Dever::input('id');
|
|
$id = Dever::input('id');
|
|
$type = Dever::input('type', 2);
|
|
$type = Dever::input('type', 2);
|
|
$title_type = Dever::input('title_type');
|
|
$title_type = Dever::input('title_type');
|