소스 검색

接口更新

master
pry 6 달 전
부모
커밋
509bf58024
4개의 변경된 파일8개의 추가작업 그리고 9개의 파일을 삭제
  1. +1
    -1
      .idea/compiler.xml
  2. +2
    -3
      .idea/gradle.xml
  3. +1
    -1
      .idea/misc.xml
  4. +4
    -4
      app/src/main/java/com/bpa/scalage/Server/APIServer.java

+ 1
- 1
.idea/compiler.xml 파일 보기

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
<bytecodeTargetLevel target="17" />
</component>
</project>

+ 2
- 3
.idea/gradle.xml 파일 보기

@@ -4,16 +4,15 @@
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="Android Studio default JDK" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveExternalAnnotations" value="false" />
</GradleProjectSettings>
</option>
</component>

+ 1
- 1
.idea/misc.xml 파일 보기

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK" />
</project>

+ 4
- 4
app/src/main/java/com/bpa/scalage/Server/APIServer.java 파일 보기

@@ -33,7 +33,7 @@ import java.util.List;

public class APIServer {

private static String address="https://www.black-pa.com:21996/";
private static String address="https://groupmeal.black-pa.com/";

// private static String address="https://bpa.black-pa.com:21995/";

@@ -42,7 +42,7 @@ public class APIServer {
*/
public static void GetDishInformation(IRunT<List<String>> callback,IRunT<String> faultCallback){
String url =address+ "saasbase/api/ExternalPlatform/WeighingService/GetGoodsInfo";
String key = "64059261-1599-472c-b418-3c18b4e3883e";
String key = "a78bb2e8-7007-447b-b378-7ec4e07ec3ee";

APIHelper.Post(url,new Object(),key,(s)->{
MessageLog.ShowInfo(s.toString());
@@ -63,7 +63,7 @@ public class APIServer {
*/
public static void GetOrderInfo(String ChipCode,IRunT<WeighOrderDto> callback,IRunT<String> faultCallback){
String url = address+ "order/api/ExternalPlatform/WeighOrder/GetWeighOrderByChipCode";
String key = "1bef8f66-1896-46ae-a724-101a709d5a26";
String key = "26dc841d-d945-4e1e-968b-cc34a85cedb9";
ChipCodeRequiredModel crm = new ChipCodeRequiredModel(ChipCode);

APIHelper.Post(url,crm,key,(s)->{
@@ -84,7 +84,7 @@ public class APIServer {
*/
public static void CreateOrder(AddGoodInfo agi, IRun callback,IRunT<String> faultCallback){
String url =address+ "order/api/ExternalPlatform/WeighOrder/AddWeighOrderGoods";
String key = "1bef8f66-1896-46ae-a724-101a709d5a26";
String key = "26dc841d-d945-4e1e-968b-cc34a85cedb9";
AddGoodModel agm = new AddGoodModel();
agm.data.add(agi);
APIHelper.Post(url,agm,key,(s)->{


불러오는 중...
취소
저장