Skip to content

Implement basic Object model with Set and Increment operation - #2

Merged
juvenn merged 10 commits into
leancloud:masterfrom
juvenn:master
Sep 23, 2015
Merged

juvenn merged 10 commits into
leancloud:masterfrom
juvenn:master

Conversation

@juvenn

@juvenn juvenn commented Sep 21, 2015

Copy link
Copy Markdown
Contributor
  • 支持形如 X-LC-Id 的短 header,参见 leancloud/uluru-platform#1335
  • 实现 LeanObject 的 SetOperation, IncrementOperation
  • 实现 LeanObject 的 save, fetch,但还不支持嵌套对象的存储

Comment thread tests/LeanObjectTest.php Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

测试里面要不要统一写成 LC_APP_ID 的形式?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好建议,和其它 SDK 保持一致是最好的。我会立即调整。

@juvenn

juvenn commented Sep 22, 2015

Copy link
Copy Markdown
Contributor Author

新的 commits 做了两个改动:

  • 环境变量由 LEANCLOUD_APP_ID 更换成 LC_APP_ID
  • 在 REST 方法的注释里移除了多余的 $method 参数

juvenn added a commit that referenced this pull request Sep 23, 2015
Implement basic Object model with Set and Increment operation
@juvenn
juvenn merged commit 92cd3a6 into leancloud:master Sep 23, 2015
@fdddf fdddf mentioned this pull request May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants