|
|
@@ -140,9 +140,13 @@ public class CmsGptCarController {
|
|
|
chatgptSession.setCarName("P" + chatgptSession.getId());
|
|
|
chatgptSession.setIsPlus(0);
|
|
|
}
|
|
|
- chatgptSessionMapper.updateById(chatgptSession);
|
|
|
+ }else {
|
|
|
+ chatgptSession.setIsPlus(0);
|
|
|
+ chatgptSession.setStatus(0);
|
|
|
+ chatgptSession.setCarId("P" + chatgptSession.getId());
|
|
|
+ chatgptSession.setCarName("P" + chatgptSession.getId());
|
|
|
}
|
|
|
-
|
|
|
+ chatgptSessionMapper.updateById(chatgptSession);
|
|
|
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
}
|