dever 3 년 전
부모
커밋
08f7cd1a0b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Invoice.php

+ 1 - 1
src/Invoice.php

@@ -61,7 +61,7 @@ class Invoice  extends Base
     # 添加或者更新地址接口
     public function up()
     {
-        $uid = 1;
+        $uid = $this->check();
         $id = Dever::input('id');
         $type = Dever::input('type', 2);
         $title_type = Dever::input('title_type');