|
|
|
@ -123,7 +123,8 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
@Resource
|
|
|
|
|
private PaymentApi paymentApi;
|
|
|
|
|
|
|
|
|
|
private Map<String, DeviceRegister> deviceRegisterMap = new HashMap<>();
|
|
|
|
|
@Resource
|
|
|
|
|
private DeviceSupport deviceSupport;
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
private CustomerRelationAlipayMapper customerRelationAlipayMapper;
|
|
|
|
@ -388,7 +389,7 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
public JSONObject listOrdersShareCode(JSONObject device, AppQueryBean query) {
|
|
|
|
|
query.setGateway_app("11");
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
DeviceRegister register = deviceRegisterMap.get(clientType);
|
|
|
|
|
DeviceRegister register = deviceSupport.findRegister(clientType);
|
|
|
|
|
Assert.notNull(register);
|
|
|
|
|
int client_id = device.getIntValue("client_id");
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(client_id);
|
|
|
|
|