...
|
...
|
@@ -18,10 +18,27 @@ use LibModels\Wap\Home\OrderData; |
|
|
class HomeController extends AbstractAction
|
|
|
{
|
|
|
|
|
|
protected $_uid;
|
|
|
|
|
|
// /**
|
|
|
// * 初始化
|
|
|
// */
|
|
|
// public function init()
|
|
|
// {
|
|
|
// // 检查用户是否登录, 未登录则跳转到登录页
|
|
|
// $uid = $this->getUid(true);
|
|
|
// if (!$uid) {
|
|
|
// $this->go(Helpers::url('/signin.html'));
|
|
|
// }
|
|
|
//
|
|
|
// parent::init();
|
|
|
// }
|
|
|
|
|
|
/**
|
|
|
* 个人中心入口
|
|
|
*/
|
|
|
public function indexAction() {
|
|
|
public function indexAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('个人中心');
|
|
|
$this->setNavHeader('个人中心', true, SITE_MAIN);
|
...
|
...
|
@@ -30,7 +47,7 @@ class HomeController extends AbstractAction |
|
|
$uid = 8826435;
|
|
|
$data = \Index\UserModel::getUserProfileData($uid);
|
|
|
$data += \Index\UserModel::getInfoNumData($uid);
|
|
|
|
|
|
|
|
|
// 优选新品数据
|
|
|
$channel = Helpers::getChannelByCookie();
|
|
|
$data['recommendForYou'] = \Index\UserModel::getPreferenceData($channel);
|
...
|
...
|
@@ -45,131 +62,54 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 用户收藏的商品
|
|
|
*/
|
|
|
public function favoriteAction() {
|
|
|
public function favoriteAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('我的收藏');
|
|
|
$this->setNavHeader('我的收藏', true, SITE_MAIN);
|
|
|
|
|
|
$uid = $this->getUid();
|
|
|
$uid = 8826435;
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
|
|
|
$favProducts = \Index\UserModel::getFavProductData($uid);
|
|
|
|
|
|
//print_r($favProducts);
|
|
|
$favBrands = \Index\UserModel::getFavBrandData($uid, $gender);
|
|
|
|
|
|
$this->_view->display('favorite', array(
|
|
|
'favPage' => true, //加载js
|
|
|
'pageHeader' => array(
|
|
|
'navBack' => true,
|
|
|
'navTitle' => '我的收藏',
|
|
|
'navHome' => true
|
|
|
),
|
|
|
'pageFooter' => true,
|
|
|
'favorite' => true,
|
|
|
'hasFavProduct' => array(
|
|
|
'0' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'adidas Originals ZX FLUXM22508 ',
|
|
|
'price' => '¥800',
|
|
|
'discountPrice' => false,
|
|
|
'savePrice' => false,
|
|
|
'sellOut' => true
|
|
|
),
|
|
|
'1' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'adidas Originals ZX FLUXM22508 ',
|
|
|
'price' => '¥800',
|
|
|
'discountPrice' => '¥500',
|
|
|
'savePrice' => '¥300',
|
|
|
'sellOut' => false
|
|
|
)
|
|
|
),
|
|
|
'hasFavBrand' => array(
|
|
|
'0' => array(
|
|
|
'id' => '1',
|
|
|
'brandImg' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'brandName' => 'VANS',
|
|
|
'update' => 12,
|
|
|
'discount' => 10,
|
|
|
'link' => '#',
|
|
|
'productList' => array(
|
|
|
'0' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'1' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'2' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'3' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'1' => array(
|
|
|
'id' => '2',
|
|
|
'brandImg' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'brandName' => 'VANS',
|
|
|
'update' => 12,
|
|
|
'discount' => 10,
|
|
|
'link' => '#',
|
|
|
'productList' => array(
|
|
|
'0' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'1' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'2' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
),
|
|
|
'3' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => '¥240'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'2' => array(
|
|
|
'id' => '3',
|
|
|
'brandImg' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'brandName' => 'VANS',
|
|
|
'update' => 12,
|
|
|
'discount' => 10,
|
|
|
'link' => '#',
|
|
|
'productList' => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/goodsimg/2015/11/04/05/01ce2aff32fc3c90584f516167cd526d91.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'price' => '¥240',
|
|
|
'discount' => false
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
'hasFavProduct' => $favProducts,
|
|
|
'hasFavBrand' => $favBrands
|
|
|
));
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 用户收藏的商品-删除
|
|
|
*/
|
|
|
public function favoriteDelAction() {
|
|
|
public function favoriteDelAction()
|
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
//$this->echoJson();
|
|
|
if ($this->isAjax()) {
|
|
|
$uid = $this->getUid();
|
|
|
$fav_id = $this->post('fav_id', 0);
|
|
|
|
|
|
$result = \Index\UserModel::favoriteDelete($uid, $fav_id);
|
|
|
}
|
|
|
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
|
|
} else {
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 用户收藏的品牌
|
|
|
*/
|
|
|
public function favoritebrandAction() {
|
|
|
public function favoritebrandAction()
|
|
|
{
|
|
|
$uid = $this->getUid();
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
|
...
|
...
|
@@ -181,7 +121,8 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 个人信息
|
|
|
*/
|
|
|
public function personalDetailsAction() {
|
|
|
public function personalDetailsAction()
|
|
|
{
|
|
|
$this->setTitle('个人信息');
|
|
|
$this->setNavHeader('个人信息', true, SITE_MAIN);
|
|
|
|
...
|
...
|
@@ -195,12 +136,13 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* YOHO币
|
|
|
*/
|
|
|
public function currencyAction() {
|
|
|
public function currencyAction()
|
|
|
{
|
|
|
$this->setTitle('YOHO币');
|
|
|
$this->setNavHeader('YOHO币', true, false);
|
|
|
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
$currency = \Index\UserModel::getYohoCoinData($uid);
|
|
|
|
|
|
$currency['pageFooter'] = true;
|
...
|
...
|
@@ -210,7 +152,8 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 优惠券
|
|
|
*/
|
|
|
public function couponsAction() {
|
|
|
public function couponsAction()
|
|
|
{
|
|
|
|
|
|
$this->setTitle('优惠券');
|
|
|
$this->setNavHeader('优惠券', true, SITE_MAIN);
|
...
|
...
|
@@ -221,19 +164,19 @@ class HomeController extends AbstractAction |
|
|
'couponsUrl' => \Index\UserModel::getCouponData($uid, $status),
|
|
|
'couponsPage' => true
|
|
|
);
|
|
|
|
|
|
$this->_view->display('coupons', $coupons);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 我的消息
|
|
|
*/
|
|
|
public function messageAction() {
|
|
|
public function messageAction()
|
|
|
{
|
|
|
// $uid = $this->getUid();
|
|
|
$page = $this->get('page', 0);
|
|
|
$size = $this->get('size', 10);
|
|
|
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
$messages = \Index\UserModel::getMessageData($uid, $page, $size);
|
|
|
|
|
|
print_r($messages);
|
...
|
...
|
@@ -242,13 +185,14 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 地址管理
|
|
|
*/
|
|
|
public function addressAction() {
|
|
|
public function addressAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('地址管理');
|
|
|
$this->setNavHeader('地址管理', true, SITE_MAIN);
|
|
|
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
|
|
|
$address = \Index\UserModel::getAddressData($uid);
|
|
|
$addressList = \Index\UserModel::getAddressListData($uid);
|
...
|
...
|
@@ -266,12 +210,13 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 修改地址或者添加新地址
|
|
|
*/
|
|
|
public function saveAddressAction() {
|
|
|
public function saveAddressAction()
|
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
$address = $this->post('address', '');
|
|
|
$area_code = $this->post('area_code', '');
|
|
|
$consignee = $this->post('consignee', '');
|
...
|
...
|
@@ -293,12 +238,13 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 设置默认地址
|
|
|
*/
|
|
|
public function defaultAddressAction() {
|
|
|
public function defaultAddressAction()
|
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
$id = $this->post('id', '');
|
|
|
|
|
|
$result = \Index\UserModel::setDefaultAddress($uid, $id);
|
...
|
...
|
@@ -311,8 +257,31 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 删除地址
|
|
|
*/
|
|
|
public function addressDelAction()
|
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 8826435;
|
|
|
$id = $this->post('id', '');
|
|
|
|
|
|
$result = \Index\UserModel::deleteAddress($uid, $id);
|
|
|
}
|
|
|
|
|
|
if (empty($result)) {
|
|
|
echo ' ';
|
|
|
} else {
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//在线客服
|
|
|
public function onlineServiceAction() {
|
|
|
public function onlineServiceAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('在线客服');
|
|
|
$this->setNavHeader('在线客服', true, SITE_MAIN);
|
...
|
...
|
@@ -327,7 +296,8 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
|
|
|
//在线客服-具体详情
|
|
|
public function onlineServiceDetailAction() {
|
|
|
public function onlineServiceDetailAction()
|
|
|
{
|
|
|
$service = array();
|
|
|
$cateId = $this->get('cateId', 0);
|
|
|
$cateName = $this->get('cateName', '');
|
...
|
...
|
@@ -342,14 +312,16 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 我的逛
|
|
|
*/
|
|
|
public function myGuangAction() {
|
|
|
public function myGuangAction()
|
|
|
{
|
|
|
echo 'My Guang';
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 意见反馈
|
|
|
*/
|
|
|
public function suggestAction() {
|
|
|
public function suggestAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('意见反馈');
|
|
|
$this->setNavHeader('意见反馈', true, SITE_MAIN);
|
...
|
...
|
@@ -371,27 +343,28 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 意见反馈-提交表单页面
|
|
|
*/
|
|
|
public function suggestSubAction() {
|
|
|
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('反馈问题');
|
|
|
|
|
|
$param = \Api\Yohobuy::param();
|
|
|
unset($param['private_key']);
|
|
|
$param['project'] = 'suggest';
|
|
|
$param['client_secret'] = 'e7807a9522ab99af8b8fd926e1ebbd9a';
|
|
|
$data = array(
|
|
|
'suggestPage' => true, //加载js
|
|
|
'pageHeader' => array(
|
|
|
'navBack' => true,
|
|
|
'navTitle' => '反馈问题',
|
|
|
'navBtn' => '提交'
|
|
|
),
|
|
|
'param' => $param,
|
|
|
'suggestSub' => true,
|
|
|
'pageFooter' => true
|
|
|
);
|
|
|
//print_r($data);
|
|
|
public function suggestSubAction()
|
|
|
{
|
|
|
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('反馈问题');
|
|
|
|
|
|
$param = \Api\Yohobuy::param();
|
|
|
unset($param['private_key']);
|
|
|
$param['project'] = 'suggest';
|
|
|
$param['client_secret'] = 'e7807a9522ab99af8b8fd926e1ebbd9a';
|
|
|
$data = array(
|
|
|
'suggestPage' => true, //加载js
|
|
|
'pageHeader' => array(
|
|
|
'navBack' => true,
|
|
|
'navTitle' => '反馈问题',
|
|
|
'navBtn' => '提交'
|
|
|
),
|
|
|
'param' => $param,
|
|
|
'suggestSub' => true,
|
|
|
'pageFooter' => true
|
|
|
);
|
|
|
//print_r($data);
|
|
|
|
|
|
$this->_view->display('suggest_sub', $data);
|
|
|
}
|
...
|
...
|
@@ -399,19 +372,19 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 异步上传图片
|
|
|
*/
|
|
|
public function suggestimgUploadAction() {
|
|
|
if ($this->isAjax()) {
|
|
|
$filename = $this->get('filename', '');
|
|
|
$result = \Plugin\Images::saveImage($filename);
|
|
|
public function suggestimgUploadAction()
|
|
|
{
|
|
|
$filename = $this->post('filename', '');
|
|
|
$result = \Index\UserModel::saveSuggestImg($filename);
|
|
|
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 异步保存意见反馈数据
|
|
|
*/
|
|
|
public function savesuggestAction() {
|
|
|
public function savesuggestAction()
|
|
|
{
|
|
|
if ($this->isAjax()) {
|
|
|
$uid = $this->getUid();
|
|
|
$content = $this->post('content', '');
|
...
|
...
|
@@ -425,7 +398,8 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 会员等级展示页
|
|
|
*/
|
|
|
public function gradeAction() {
|
|
|
public function gradeAction()
|
|
|
{
|
|
|
//设置网站seo信息
|
|
|
$this->setTitle('会员等级');
|
|
|
//显示网站导航头部信息
|
...
|
...
|
@@ -444,7 +418,8 @@ class HomeController extends AbstractAction |
|
|
* 会员特权查看页
|
|
|
*/
|
|
|
|
|
|
public function preferentialAction() {
|
|
|
public function preferentialAction()
|
|
|
{
|
|
|
//设置网站seo信息
|
|
|
$this->setTitle('会员等级');
|
|
|
//显示网站导航头部信息
|
...
|
...
|
@@ -461,7 +436,8 @@ class HomeController extends AbstractAction |
|
|
* 我的订单页面
|
|
|
*/
|
|
|
|
|
|
public function orderAction() {
|
|
|
public function orderAction()
|
|
|
{
|
|
|
//获得type值
|
|
|
$type = $this->get('type', 1);
|
|
|
$this->setTitle('我的订单');
|
...
|
...
|
@@ -481,7 +457,8 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
|
|
|
//ajax请求订单页面
|
|
|
public function getOrdersAction() {
|
|
|
public function getOrdersAction()
|
|
|
{
|
|
|
//判断是不是ajax请求
|
|
|
if (!$this->isAjax()) {
|
|
|
$this->error();
|
...
|
...
|
@@ -515,28 +492,31 @@ class HomeController extends AbstractAction |
|
|
* 我的订单-取消订单
|
|
|
*/
|
|
|
|
|
|
public function cancelOrderAction() {
|
|
|
public function cancelOrderAction()
|
|
|
{
|
|
|
|
|
|
//判断是不是ajax请求
|
|
|
if (!$this->isAjax()) {
|
|
|
$this->error();
|
|
|
}
|
|
|
//传入order_code和uid以取消订单
|
|
|
$order_code = $this->get('id');
|
|
|
$order_code = $this->get('orderCode');
|
|
|
$uid = $this->getUid();
|
|
|
$uid = '10267443'; //测试用
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
$yh_channel = $this->get('yh_channel', 1);
|
|
|
$method = 'app.SpaceOrders.close';
|
|
|
$data = OrderData::cancelOrderData($order_code, $uid, $gender, $yh_channel, $method);
|
|
|
$this->echoJson($data);
|
|
|
|
|
|
$this->echoJson($data);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 我的订单-删除订单
|
|
|
*/
|
|
|
|
|
|
public function delOrderAction() {
|
|
|
public function delOrderAction()
|
|
|
{
|
|
|
//判断是不是ajax请求
|
|
|
if (!$this->isAjax()) {
|
|
|
$this->error();
|
...
|
...
|
@@ -549,33 +529,14 @@ class HomeController extends AbstractAction |
|
|
$yh_channel = $this->get('yh_channel', 1);
|
|
|
$method = 'app.SpaceOrders.delOrderByCode';
|
|
|
$data = OrderData::deleteOrderData($order_code, $uid, $gender, $yh_channel, $method);
|
|
|
if ($data['code'] == 200) {
|
|
|
$arr = array();
|
|
|
$arr['code'] = $data['code'];
|
|
|
$arr['message'] = $data['message'];
|
|
|
echo json_encode($arr);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 付款
|
|
|
*/
|
|
|
public function getPaymentAction() {
|
|
|
$contentCode = $this->get('content_code');
|
|
|
$contentCode = '04cf5abaa7c20178325a07c4a833782c';
|
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
$yh_channel = $this->get('yh_channel', 1);
|
|
|
$data = OrderData::getPaymentData($contentCode, $gender, $yh_channel);
|
|
|
//print_r($data);
|
|
|
if ($data['code'] == 200) {
|
|
|
|
|
|
}
|
|
|
$this->echoJson($data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 订单详情页
|
|
|
*/
|
|
|
public function orderDetailAction() {
|
|
|
public function orderDetailAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'name' => '毛毛莉Lydia',
|
|
|
'phoneNum' => '18600001133',
|
...
|
...
|
|