|
|
|
@ -1,7 +1,9 @@
|
|
|
|
|
package com.charge.station.controller;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.charge.station.bo.CompanyBO;
|
|
|
|
|
import com.charge.station.bo.NearbyStationBO;
|
|
|
|
|
import com.charge.station.model.CompanyEquipmentPricingRuleTimeDO;
|
|
|
|
|
import com.charge.station.model.UserDO;
|
|
|
|
|
import com.charge.station.service.SaasCompanyService;
|
|
|
|
@ -14,9 +16,7 @@ import com.charge.util.I100cResponse;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
@ -240,7 +240,7 @@ public class SaasCompanyController {
|
|
|
|
|
String companyMinChargeBalance,
|
|
|
|
|
Integer enableOnlineRefund) {
|
|
|
|
|
try {
|
|
|
|
|
String msg = companyService.batchSaasAddCompanyUser(companyId, isPersonalAccpunt, isCard, names, phones, enableOnlineRecharge, companyMinChargeBalance,enableOnlineRefund);
|
|
|
|
|
String msg = companyService.batchSaasAddCompanyUser(companyId, isPersonalAccpunt, isCard, names, phones, enableOnlineRecharge, companyMinChargeBalance, enableOnlineRefund);
|
|
|
|
|
return I100cResponse.success(msg);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
log.error("batchSaasAddCompanyUser 异常,原因:", e);
|
|
|
|
@ -284,5 +284,14 @@ public class SaasCompanyController {
|
|
|
|
|
return I100cResponse.success(companyService.queryCompanyInfoList());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 黄海测试使用POST方式提交
|
|
|
|
|
* @param jo
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/HuangHaiTestPost")
|
|
|
|
|
public CommonResponse HuangHaiTestPost(@RequestBody JSONObject jo){
|
|
|
|
|
System.out.println(jo);
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|