Commit 6683ede2 by guanghui.cui

积分proType,服务端传输过来“00”需要转换为“CP”

parent b418d961
......@@ -383,6 +383,9 @@ bool JsonModule::getPushOrders(IN const char* json,OUT orderObj &order)
detail.bonus = GetJsonIntSafe(pointDetails_obj,"point");
detail.sku = GetJsonStringSafe(pointDetails_obj,"sku");
detail.proType = GetJsonStringSafe(pointDetails_obj,"type");
if("00"==detail.proType){
detail.proType="CP";
}
order.vecBonus.push_back(detail);
}
......
......@@ -246,7 +246,7 @@ int main()
/// 注册回调函数
el::Helpers::installPreRollOutCallback(logRolloutHandler);
LOG(INFO)<<"---------software start---------.";
LOG(INFO)<<"---------software start---------";
//sqlite初始化
// if(!sqlite.initSQLite()){
......
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