记得上下班打卡 | git大法好,push需谨慎

Commit 01440abc authored by 胡佳晨's avatar 胡佳晨

提交 mongo 索引分片

parent 584e4a4a
......@@ -34,8 +34,7 @@ public final class RedisUtil extends AbstractRedisUtil{
public static void main(String[] args) {
String[] keys = {
"kylin:performances:id:879358616337735686573945",
"stone:item:logs:list:$uid"
"goblin:real_stock_sku:ZZ:226311525252003387ZZ87427",
};
for (String key : keys) {
long value = key.hashCode();
......
......@@ -103,7 +103,12 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
AdamAddressesVo addressesVo;
boolean isMember;
if (userVo == null) {
throw new Exception("库存不足");
if(noZhengzaiOrder(uid)) {
throw new Exception("库存不足");
}else{
isMember = false;
addressesVo = null;
}
} else {
addressesVo = userVo.getAddressesVo();
switch (userVo.getMembership()) {
......
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