2017 © Pedro Peláez
 

library ehd

东大亿惠达接口

image

ddphp/ehd

东大亿惠达接口

  • Tuesday, March 7, 2017
  • by ddphp
  • Repository
  • 0 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Ehd

亿惠达会员(Ehd\Member)

初始化

$member = new \Ehd\Member();

// 查询字段:custid custname custsjh custsfz ynallnew
$condition = '288****55';  // 作为卡号
// or $condition = ['custid' => '288****55', ...]; 
$member->wsdl($wsdl)->where($condition)->find();

where 方法可用查询字段, (*1)

  1. custid 卡号
  2. custname 姓名
  3. custsjh 手机号
  4. custsfz 身份证号
  5. ynallnew 是否新增 Y/N

获取会员资料

$member->getArchives();   // return array
$member->getArchives('custid');  // return string
$member->getArchives(['custid', 'name']);  // return array

调整会员积分

$member->adjustScore(-1, '新版积分调整测试');  // return bool

变更会员资料

$member->changeArchives($newArchives);  // return bool

可修改会员资料项, (*2)

  1. name 用户姓名
  2. phone 电话号码
  3. address 用户地址
  4. personid 身份证号
  5. mobilephone 手机(唯一性)
  6. birthday 生日 yyyy-mm-dd 字符格式
  7. sex 性别
  8. edulevel 学历
  9. email 电子邮箱
  10. compname 单位名称
  11. cmpaddr 单位地址
  12. mantitle 职务

The Versions

07/03 2017

dev-master

9999999-dev

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达

07/03 2017

v0.2.2

0.2.2.0

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达

02/02 2017

v0.2.1

0.2.1.0

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达

23/01 2017

v0.2.0

0.2.0.0

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达

10/01 2017

v0.1.1

0.1.1.0

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达

09/01 2017

v0.1.0

0.1.0.0

东大亿惠达接口

  Sources   Download

MIT

The Requires

 

The Development Requires

by WeifengPeng

sdk 接口 东大 亿惠达