登录

请求地址(POST)
https://app.jiujiuke.net/api/JJkInterface/OperatorLogin?interfacekey=[InterfaceKey]&signature=[Signature]&timestamp=[TimeStamp]
字段 说明
InterfaceKey 接口密钥
Signature 字符串=(InterfaceKey+SignToken+TimeStamp+data),再将字符串中的字符按照升序排列,最终签名 = MD5(字符串),格式:32位MD5大写加密
TimeStamp 发起请求的时间戳,查看标准TimeStamp
请求说明
data={"IsPass":"0","PassWord":"123456","MasterAccount":"admin","CompCode":"ceshi"}
字段 是否必须 说明
IsPass 是否需要输入密码(0-不需要 1-需要 默认为0)
PassWord 操作员密码
MasterAccount 操纵员帐号
CompCode 企业代码
返回说明
成功时返回:
{"status":1,"msg":"00","total":0,"obj":{"CompID":1001,"CompCode":"ceshi","CompName":"测试","CompAvator":"","VersionNum":"1.0","VersionType":"bzb","ShopID":"13157138234785792","ShopName":"总店","MasterID":"13157138235293706","AccountName":"admin","MShopID":"13157138234785792","Address":"湖北宜昌","MasterName":"系统管理员","RoleId":"13171574196633600","Remark":"","Mobile":"15971440018","MerchantCode":"","TerminalID":"","PaymentToken":"53943969825940c8b798bf5943ff0343","SignKey":"c0cc228248a04414b3b102d47344307b","InterfaceKey":"42011275","Permission":0,"onLineUserKey":"854764B0FB6FBE6C60B7BCD7F3FD0F5F3CDE7EE0326E957C","IsMasterShop":1,"IsMemRecharge":0,"IsEnableQuickPayment":1,"IsEnablelakalaPayment":1,"PosDeviceType":0},"rows":{"Id":"13157138234785793","CompID":1001,"isMemberSJGX":1,"isRegMemPwd":0,"isRegMemNullPwd":0,"isBusinessPwd":0,"isRechargePwd":1,"isConsumptionPwd":"1","isPointExchangePwd":0,"isPointChangePwd":1,"isPointWithdrawPwd":0,"isBalanceTocashPwd":0,"isModifyProPriceCons":0,"isModifyProTotalCons":0,"isFITConsumptionCons":0,"IsAppointment":0,"MoneyPrecision":1,"PointPrecision":0,"MemberDefaultPassword":"1234560","CashPercent":0.1,"WithdrawCashPrecent":1.0,"isSystemSMS":1,"isThirdpartySMS":0,"isSMSMemReg":1,"isSMSMemChangecard":1,"isSMSMemPostponedt":1,"isSMSMemRelegation":1,"isSMSMemPointsClear":1,"isSMSMemPwdReset":1,"isSMSMemLossLock":1,"isSMSMemRecharge":1,"isSMSMemChangePoints":1,"isSMSMemRenewalTimes":1,"isSMSMemRapidConsumption":1,"isSMSMemConsumerProducts":1,"isSMSMemGiftExchange":1,"isSMSMemRef":1,"isSMSMemConsumeRef":1,"isPrintRechargeMoney":0,"isPrintRechargeCount":0,"isPrintQuickConsume":0,"isPrintGoodsConsume":0,"isPrintReturnGoods":0,"isPrintGiftExchange":0,"isZDYPrint":0,"jxcSalesApproach":0,"jxcInformationSharing":0,"jxcInventoryAlarm":0.0,"EmailZH":"1","EmailPWD":"","EmailType":"0","IsShowCustomField":0,"IsPhone":0,"AddGift":50.0,"IsEnableWeChart":0,"WeChatToken":"","WeChatInterfaceUrl":null,"IsCountConsumeDetail":0,"IsManual":0,"IsSMSCountConsume":1,"CashIntegral":1.0,"KillPwd":"123456","IsEnableECRules":0,"EWSCodeType":0,"EWSCodeFormat":0,"WeChatVersion":0,"CreateTime":"2016-10-15 11:00:00","OnlineUserKey":null},"rowData":null}
字段 说明
status 返回状态码(1,成功;其它,失败)
msg 返回消息
total 数据总记录数:用于分页
obj 单个记录
CompID 企业编号
CompCode 企业代码
CompName 企业名称
CompAvator 企业头像
VersionNum 版本号
VersionType 软件版本(mfb-普及版、bzb-标准版)
ShopID 分店代码
ShopName 分店名称
MasterID 操作员编号
AccountName 管理员账号
MShopID 总店编号
Address 地址
MasterName 操作员名称
RoleId 角色编号
Remark 备注
Mobile 操作员手机号
MerchantCode 支付商户号
TerminalID 支付终端号
PaymentToken 支付令牌
SignKey 支付签名私钥
InterfaceKey 接口密钥
Permission App权限处理(1-会员注册 2-会员充值 4-快速消费 8-商品消费 16-充次续次 32-计次消费 64-积分兑换 128-会员挂失)
onLineUserKey 用户信息
IsMasterShop 是否为总店(0 分店 1 总店)
IsMemRecharge 是否开始会员充值功能(1 是 0 否)
IsEnableQuickPayment 是否开起在线支付(1 是 0 否)
IsEnablelakalaPayment 是否开起拉卡拉支付(1 是 0 否)
PosDeviceType pos机类型 ( 0:拉卡拉 1:商米 2:扫呗)
rows 数据记录
Id 系统参数Id
isMemberSJGX 是否会员共享(1是 0否)
isRegMemPwd 密码_登记是否启用密码(1是 0否)
isRegMemNullPwd 密码_-是否允许密码为空(1是 0否)
isBusinessPwd 密码_是否启用业务密码功能(1是 0否)
isRechargePwd 密码_充值启用密码(1是 0否)
isConsumptionPwd 密码_消费启用密码(1是 0否)
isPointExchangePwd 密码_积分兑换启用密码(1是 0否)
isPointChangePwd 密码_积分变动启用密码(1是 0否)
isPointWithdrawPwd 密码_积分提现启用密码(1是 0否)
isBalanceTocashPwd 密码_账户余额提现启用密码(1是 0否)
isModifyProPriceCons 消费_是否允许手动修改产品单价(1是 0否)
isModifyProTotalCons 消费_是否允许手动修改订单总价(1是 0否)
isFITConsumptionCons 消费_是否启用散客消费(1是 0否)
IsAppointment 预约是否发送短信(1是 0否)
MoneyPrecision 金额小数设置(0:保留两位小数 1:保留整数 ( 四舍五入 ) 2:保留整数 ( 舍弃小数 ) 3:保留一位小数 4:保留三位小数)
PointPrecision 积分小数设置(0:保留两位小数 1:保留整数 ( 四舍五入 ) 2:保留整数 ( 舍弃小数 ) 3:保留一位小数 4:保留三位小数)
MemberDefaultPassword 会员_默认密码
CashPercent 会员积分兑换现金比例
WithdrawCashPrecent 会员余额兑换现金比例(余额提现比率)
isSystemSMS 启用系统短信功能
isThirdpartySMS 启用第三方接口短信功能
isSMSMemReg 会员注册后自动发送短信
isSMSMemChangecard 会员换卡
isSMSMemPostponedt 会员延期
isSMSMemRelegation 会员升降级
isSMSMemPointsClear 会员积分清理
isSMSMemPwdReset 会员密码重置
isSMSMemLossLock 会员挂失锁定
isSMSMemRecharge 会员充值
isSMSMemChangePoints 会员积分变动
isSMSMemRenewalTimes 会员续次
isSMSMemRapidConsumption 会员快速消费
isSMSMemConsumerProducts 会员产品消费
isSMSMemGiftExchange 会员礼品兑换
isSMSMemRef 会员注册后自动发送推荐人短信
isSMSMemConsumeRef 会员消费后自动发送推荐人短信
isPrintRechargeMoney 打印会员充值小票
isPrintRechargeCount 打印会员次卡续次小票
isPrintQuickConsume 打印快速消费小票
isPrintGoodsConsume 打印产品消费小票
isPrintReturnGoods 打印顾客退货小票
isPrintGiftExchange 打印礼品兑换小票
isZDYPrint 是否开启自定义打印(1是 0否)
jxcSalesApproach 经销存销货方式(0 先进先出 1 先进后出)
jxcInformationSharing 分店资料是否共享(1是 0否)
jxcInventoryAlarm 库存报警数量
EmailZH 支付方式
EmailPWD 邮箱密码
EmailType 预约成功是否发送短信(1是 0否)
IsShowCustomField 会员自助平台是否显示自定义属性
IsPhone 是否验证电话号码(1是 0否)
AddGift 增加积分
IsEnableWeChart 是否启用微信卡功能(1是 0否)
WeChatToken 微信Token
WeChatInterfaceUrl 微信接口地址
IsCountConsumeDetail 是否共享计次消费明细(弃用)
IsManual 消费时允许手动输入会员卡号
IsSMSCountConsume 会员计次消费短信
CashIntegral 积分提取现金(0:不能提取现金 1:提取1元 如此类推)
KillPwd 撤单密码
IsEnableECRules 是否启用电子称(1是 0否)
EWSCodeType 条码类型
EWSCodeFormat 条码格式
WeChatVersion 微信版本
CreateTime 操作时间
OnlineUserKey 用户信息
rowData 数据记录自定义属性
失败时返回:
{"status":0,"message":"99"}
字段 是否必须 说明
status 状态(1,成功;其它,失败)
message 错误码(00,成功;其它,失败)