Commit b7ad6684 authored by wwccw0591's avatar wwccw0591

message

parent 25d2b16c
......@@ -81,6 +81,7 @@ class ApiConst
const storeMessageType = 4;
//普通用户消息类型
const memberMessageType = 5;
const ordinaryMessage=0;
const onePictureMessage=21;
......
<?php
namespace Our;
/**
* 这个是路由义 。
* 这个是路由义 。
*
* @author Administrator
*
......@@ -31,9 +31,9 @@ class DescribeConst
const registerMemberFailed = '注册失败';
const cancelBindingSuccess = '取消绑成功';
const cancelBindingSuccess = '取消绑成功';
const bindingSuccess = '绑成功';
const bindingSuccess = '绑成功';
const findPasswordSendMsgSuccess = '找回密码发送验证码成功';
......@@ -45,9 +45,9 @@ class DescribeConst
const changeMobileSuccess = '修改手机号码成功';
const bindMobileForWxSuccess = '绑手机成功';
const bindMobileForWxSuccess = '绑手机成功';
const thirdPlatformBindSuccess = '第三方账号绑成功';
const thirdPlatformBindSuccess = '第三方账号绑成功';
const memberNamePrefix = '身边店友_';
......@@ -106,12 +106,12 @@ class DescribeConst
const applySuccess = '申请成功';
const noLimitCoupon = '无门槛';
const specialCoupon = '指券';
const specialCoupon = '指券';
const giftCoupon = '礼品券';
const couponFullAvailable = '满{0}可用';
const couponFullDiscount = '满{0}享{1}折';
const couponFullForCoupon = '满{0}送指券';
const couponFullForCoupon = '满{0}送指券';
const couponFullForGift = '满{0}送礼品券';
const noLimitGoodsCouponName = '元无门槛';
const available = '可用';
......@@ -148,12 +148,12 @@ class DescribeConst
const refundRetund='退货';
//用户订单送达消息
const reacheRemindTitle='的订单已经送达';
const reacheRemindContent='有新的订单号为{0}的订单已经送达';
const reacheRemindTitle='的订单已经送达';
const reacheRemindContent='有新的订单号为{0}的订单已经送达';
//店铺有新订单
const recieveWaitTitle='你有新的定单';
const recieveWaitContent='有新的订单号为{0}的订单,是否需要接单';
const recieveWaitTitle='您有新的订单';
const recieveWaitContent='有新的订单号为{0}的订单,是否需要接单';
//消息按钮成功提示信息
const recieveOrderSuccess='接单成功';
......
......@@ -192,7 +192,7 @@ class MessageServiceModel extends \Business\AbstractModel
$member['uid'] = $store['store_id'];
$member['name'] = $store['store_name'];
}
if ($type == ApiConst::memberMessageType) {
if ($type == ApiConst::memberMessageType || $type==ApiConst::memberMessageType) {
$memberDao = \DAO\MemberModel::getInstance();
$member = $memberDao->getOneByMemberId($memberId, 'member_id,member_name');
$member['uid'] = $member['member_id'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment