ソースを参照

//tt 计划

release_toaliyun_real
xhxu 3年前
コミット
1cb4e31268
2個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/douyin/web/api/TtWebPoiPlanService.java
  2. +2
    -2
      mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebPoiPlanServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/douyin/web/api/TtWebPoiPlanService.java ファイルの表示

@@ -56,7 +56,7 @@ public interface TtWebPoiPlanService {
/**
* 发布/修改通用佣金计划
*/
Integer poiPlanSave(PoiPlan poiPlan) throws WxErrorException ;
Long poiPlanSave(PoiPlan poiPlan) throws WxErrorException ;

/**
* 修改通用佣金计划状态


+ 2
- 2
mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebPoiPlanServiceImpl.java ファイルの表示

@@ -36,11 +36,11 @@ public class TtWebPoiPlanServiceImpl implements TtWebPoiPlanService {
}

@Override
public Integer poiPlanSave(PoiPlan poiPlan) throws WxErrorException {
public Long poiPlanSave(PoiPlan poiPlan) throws WxErrorException {
final TtWebPostRequestExecutor executor = new TtWebPostRequestExecutor(this.service.getRequestHttp());
String result = this.service.execute(executor, this.POI_COMMON_PLAN_SAVE, GSON.toJson(poiPlan));
JSONObject jsonObject = JSONObject.parseObject(result);
return jsonObject.getInteger("plan_id");
return jsonObject.getLong("plan_id");
}

@Override


読み込み中…
キャンセル
保存